# Wazuh Docker Copyright (C) 2017, Wazuh Inc. (License GPLv2) FROM amazonlinux:2023 AS builder ARG WAZUH_VERSION ARG WAZUH_TAG_REVISION RUN yum install curl-minimal openssl xz tar findutils shadow-utils -y COPY config/check_repository.sh / RUN chmod 775 /check_repository.sh && \ source /check_repository.sh RUN yum install wazuh-indexer-${WAZUH_VERSION}-${WAZUH_TAG_REVISION} -y && \ yum clean all COPY config/config.sh . RUN bash config.sh ################################################################################ # Build stage 1 (the actual Wazuh indexer image): # # Copy wazuh-indexer from stage 0 # Add entrypoint ################################################################################