Add architecture target

This commit is contained in:
Victor Carlos Erenu
2025-10-30 22:58:39 +07:00
parent d654b17189
commit 46829ed9ee
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ ARG wazuh_agent_url_amd64_rpm
ARG wazuh_agent_url_arm64_rpm
RUN dnf install curl-minimal tar gzip procps -y &&\
curl -o /wazuh-agent.rpm "${wazuh_agent_url_amd64_rpm}" && \
curl -o /wazuh-agent.rpm "${wazuh_agent_url_$TARGETARCH_rpm}" && \
dnf install /wazuh-agent.rpm -y && \
dnf clean all && \
sed -i '/<authorization_pass_path>/d' /var/ossec/etc/ossec.conf && \
@@ -10,7 +10,7 @@ ARG wazuh_dashboard_url_arm64_rpm
# Update and install dependencies
RUN dnf install curl-minimal libcap openssl -y && \
curl -o /wazuh-dashboard.rpm "${wazuh_dashboard_url_amd64_rpm}" && \
curl -o /wazuh-dashboard.rpm "${wazuh_dashboard_url_$TARGETARCH_rpm}" && \
dnf install /wazuh-dashboard.rpm -y && \
dnf clean all
+1 -1
View File
@@ -9,7 +9,7 @@ ARG wazuh_indexer_url_arm64_rpm
COPY config/config.sh .
RUN yum install curl-minimal openssl xz tar findutils shadow-utils -y &&\
curl -o /wazuh-indexer.rpm "${wazuh_indexer_url_amd64_rpm}" && \
curl -o /wazuh-indexer.rpm "${wazuh_indexer_url_$TARGETARCH_rpm}" && \
dnf install /wazuh-indexer.rpm -y && \
dnf clean all && \
bash config.sh
+1 -1
View File
@@ -11,7 +11,7 @@ ARG wazuh_manager_url_arm64_rpm
RUN dnf install curl-minimal xz gnupg tar gzip openssl findutils procps -y &&\
dnf clean all && \
curl -o /wazuh-manager.rpm "${wazuh_manager_url_amd64_rpm}" && \
curl -o /wazuh-manager.rpm "${wazuh_manager_url_$TARGETARCH_rpm}" && \
dnf install /wazuh-manager.rpm -y && \
dnf clean all && \
curl --fail --silent -L https://github.com/just-containers/s6-overlay/releases/download/${S6_VERSION}/s6-overlay-amd64.tar.gz \