Update variable names to common used names

This commit is contained in:
Jesus Garcia
2026-01-26 12:42:55 -05:00
parent ba91ba880a
commit 3579ff06f5
6 changed files with 28 additions and 28 deletions
@@ -6,12 +6,12 @@ ARG WAZUH_TAG_REVISION
ARG WAZUH_UI_REVISION
ARG INSTALL_DIR=/usr/share/wazuh-dashboard
ARG TARGETARCH
ARG wazuh_dashboard_url_amd64_rpm
ARG wazuh_dashboard_url_arm64_rpm
ARG wazuh_dashboard_amd64_rpm
ARG wazuh_dashboard_arm64_rpm
ARG wazuh_config_yml
# Update and install dependencies
RUN URL_VAR="wazuh_dashboard_url_${TARGETARCH}_rpm" && \
RUN URL_VAR="wazuh_dashboard_${TARGETARCH}_rpm" && \
dashboard_url="${!URL_VAR}" && \
dnf install curl-minimal libcap openssl -y && \
curl -o /wazuh-dashboard.rpm "${dashboard_url}" && \