# Wazuh Docker Copyright (C) 2021 Wazuh Inc. (License GPLv2) FROM ubuntu:20.04 ARG WAZUH_VERSION=4.3.0 ARG TEMPLATE_VERSION="master" ARG FILEBEAT_CHANNEL=filebeat-oss ARG FILEBEAT_VERSION=7.10.2 ARG WAZUH_FILEBEAT_MODULE="wazuh-filebeat-0.1.tar.gz" RUN apt-get update && apt install curl gnupg -y RUN curl -s https://packages-dev.wazuh.com/key/GPG-KEY-WAZUH | apt-key add - && \ echo "deb https://packages-dev.wazuh.com/trash/apt/ unstable main" | tee -a /etc/apt/sources.list.d/wazuh.list && \ apt-get update && \ apt-get install wazuh-indexer # Prepare permanent data # Sync calls are due to https://github.com/docker/docker/issues/9547 COPY config/entrypoint.sh / RUN chmod 700 /entrypoint.sh # Services ports EXPOSE 9700 ENTRYPOINT [ "/entrypoint.sh" ]