Fixes to the Dockerfiles. Thanks to marcelo-ochoa.

Fix permissions in the DB Dockerfile and add mod_ssl to the Console
Dockerfile.
This commit is contained in:
Ramon Novoa 2018-05-04 09:55:28 +02:00
parent 770267d72e
commit 7bb3fb8077
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@ WORKDIR /pandorafms/pandora_console
ADD pandoradb.sql /docker-entrypoint-initdb.d
ADD pandoradb_data.sql /docker-entrypoint-initdb.d
RUN chown mysql /docker-entrypoint-initdb.d
ENV MYSQL_DATABASE=pandora

View File

@ -45,13 +45,14 @@ RUN yum install -y \
php-zip \
nmap \
net-snmp-utils \
mod_ssl \
xprobe2
#Clone the repo
RUN git clone -b develop https://github.com/pandorafms/pandorafms.git /tmp/pandorafms
#Exposing ports for: HTTP, SNMP Traps, Tentacle protocol
EXPOSE 80 162/udp 41121
EXPOSE 80 162/udp 443 41121
# Simple startup script to avoid some issues observed with container restart
ADD docker_entrypoint.sh /entrypoint.sh