Update docker to Wazug 3.2.1 Elastic 6.2.3

This commit is contained in:
José Luis Ruiz Ruiz
2018-04-04 15:23:59 -04:00
parent 15f7ce98d9
commit 575708310b
5 changed files with 10 additions and 9 deletions
+3 -2
View File
@@ -1,5 +1,6 @@
FROM phusion/baseimage:latest
ARG FILEBEAT_VERSION=6.2.2
ARG FILEBEAT_VERSION=6.2.3
ARG WAZUH_VERSION=3.2.1-1
RUN apt-get update; apt-get -y dist-upgrade
RUN apt-get -y install openssl postfix bsd-mailx curl apt-transport-https lsb-release
@@ -9,7 +10,7 @@ RUN curl --silent --location https://deb.nodesource.com/setup_6.x | bash - &&\
apt-get install -y nodejs
RUN curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add -
RUN echo "deb https://packages.wazuh.com/3.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list
RUN apt-get update && apt-get -y install wazuh-manager=3.2.1-1 wazuh-api=3.2.1-1 expect && apt-get clean
RUN apt-get update && apt-get -y install wazuh-manager=${WAZUH_VERSION} wazuh-api=${WAZUH_VERSION} expect && apt-get clean
ADD config/data_dirs.env /data_dirs.env
ADD config/init.bash /init.bash