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
+3 -3
View File
@@ -4,14 +4,14 @@ FROM amazonlinux:2023 AS builder
ARG WAZUH_VERSION
ARG WAZUH_TAG_REVISION
ARG TARGETARCH
ARG wazuh_indexer_url_amd64_rpm
ARG wazuh_indexer_url_arm64_rpm
ARG wazuh_indexer_amd64_rpm
ARG wazuh_indexer_arm64_rpm
ARG wazuh_certs_tool
ARG wazuh_config_yml
COPY config/config.sh .
RUN URL_VAR="wazuh_indexer_url_${TARGETARCH}_rpm" && \
RUN URL_VAR="wazuh_indexer_${TARGETARCH}_rpm" && \
indexer_url="${!URL_VAR}" && \
dnf install curl-minimal openssl xz tar findutils shadow-utils -y &&\
curl -o /wazuh-indexer.rpm "${indexer_url}" && \