Fixes in Dockerfiles and entrypoints

This commit is contained in:
vcerenu
2022-01-21 15:28:56 -03:00
parent 4435658edf
commit b7b87cb06e
11 changed files with 41 additions and 295 deletions
-7
View File
@@ -2,19 +2,12 @@
FROM ubuntu:20.04
ARG WAZUH_VERSION=4.3.0-1
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 -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
# Prepare permanent data
# Sync calls are due to https://github.com/docker/docker/issues/9547
COPY config/entrypoint.sh /
RUN chmod 700 /entrypoint.sh