Standarize Artifact URL keys (#2286)

* Standardize artifact URL keys for Docker builds

* Changelog update

---------

Co-authored-by: Gonzalo Acuña <teddytpc1@gmail.com>
Co-authored-by: Gonzalo Acuña <33964202+teddytpc1@users.noreply.github.com>
This commit is contained in:
Jesús García
2026-04-06 09:01:41 +02:00
committed by GitHub
co-authored by Gonzalo Acuña Gonzalo Acuña
parent 0eb0d7914f
commit 8eca20a5ae
7 changed files with 37 additions and 28 deletions
+5 -3
View File
@@ -6,10 +6,12 @@ RUN rm /bin/sh && ln -s /bin/bash /bin/sh
ARG WAZUH_VERSION
ARG S6_VERSION="v2.2.0.3"
ARG TARGETARCH
ARG wazuh_manager_amd64_rpm
ARG wazuh_manager_arm64_rpm
ARG wazuh_manager_x86_64_rpm
ARG wazuh_manager_aarch64_rpm
RUN URL_VAR="wazuh_manager_${TARGETARCH}_rpm" && \
RUN RPM_ARCH="x86_64" && \
if [ "${TARGETARCH}" = "arm64" ]; then RPM_ARCH="aarch64"; fi && \
URL_VAR="wazuh_manager_${RPM_ARCH}_rpm" && \
manager_url="${!URL_VAR}" && \
dnf install curl-minimal xz gnupg tar gzip openssl findutils procps -y &&\
dnf clean all && \