From 7bb3fb8077e9b00bb70f964a6af380654143b22a Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Fri, 4 May 2018 09:55:28 +0200 Subject: [PATCH] Fixes to the Dockerfiles. Thanks to marcelo-ochoa. Fix permissions in the DB Dockerfile and add mod_ssl to the Console Dockerfile. --- pandora_console/DB_Dockerfile | 1 + pandora_console/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_console/DB_Dockerfile b/pandora_console/DB_Dockerfile index eb6465f6c1..5dec3b4f63 100644 --- a/pandora_console/DB_Dockerfile +++ b/pandora_console/DB_Dockerfile @@ -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 diff --git a/pandora_console/Dockerfile b/pandora_console/Dockerfile index ccbcef4cdd..1bdf0363f0 100644 --- a/pandora_console/Dockerfile +++ b/pandora_console/Dockerfile @@ -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