forked from wazuh/wazuh-docker
18 lines
495 B
Plaintext
18 lines
495 B
Plaintext
# Wazuh Docker Copyright (C) 2021 Wazuh Inc. (License GPLv2)
|
|
FROM ubuntu:20.04
|
|
|
|
ARG WAZUH_VERSION=4.3.0-1
|
|
|
|
RUN apt-get update && apt install curl -y
|
|
|
|
RUN curl https://s3.amazonaws.com/warehouse.wazuh.com/stack/indexer/stable/wazuh-indexer_${WAZUH_VERSION}_amd64.deb --output wazuh-indexer_${WAZUH_VERSION}_amd64.deb && \
|
|
dpkg -i wazuh-indexer_${WAZUH_VERSION}_amd64.deb
|
|
|
|
COPY config/entrypoint.sh /
|
|
|
|
RUN chmod 700 /entrypoint.sh
|
|
|
|
# Services ports
|
|
EXPOSE 9700
|
|
|
|
ENTRYPOINT [ "/entrypoint.sh" ] |