Added SMTP packages

We have added the SMTP packages that are missing.

For its installation we have to add the universe repository.
This commit is contained in:
AlfonsoRBJ
2018-11-13 14:51:14 +01:00
parent 69da45fc9d
commit 9f0643f456
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ version: '2'
services: services:
wazuh: wazuh:
image: wazuh/wazuh:3.7.0_6.4.3 build: ./wazuh
hostname: wazuh-manager hostname: wazuh-manager
restart: always restart: always
ports: ports:
+4 -1
View File
@@ -21,10 +21,13 @@ RUN useradd -u 1000 -g 1000 -d /var/ossec ossec
RUN echo "postfix postfix/mailname string wazuh-manager" | debconf-set-selections RUN echo "postfix postfix/mailname string wazuh-manager" | debconf-set-selections
RUN echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections RUN echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections
# Add universe repository
RUN add-apt-repository universe
# Install packages # Install packages
RUN apt-get update && apt-get -y install openssl postfix bsd-mailx python-boto python-pip \ RUN apt-get update && apt-get -y install openssl postfix bsd-mailx python-boto python-pip \
apt-transport-https vim expect nodejs python-cryptography wazuh-manager=${WAZUH_VERSION} \ apt-transport-https vim expect nodejs python-cryptography wazuh-manager=${WAZUH_VERSION} \
wazuh-api=${WAZUH_VERSION} wazuh-api=${WAZUH_VERSION} mailutils libsasl2-modules
# Adding first run script. # Adding first run script.
ADD config/data_dirs.env /data_dirs.env ADD config/data_dirs.env /data_dirs.env