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:
parent
770267d72e
commit
7bb3fb8077
|
@ -5,6 +5,7 @@ WORKDIR /pandorafms/pandora_console
|
||||||
|
|
||||||
ADD pandoradb.sql /docker-entrypoint-initdb.d
|
ADD pandoradb.sql /docker-entrypoint-initdb.d
|
||||||
ADD pandoradb_data.sql /docker-entrypoint-initdb.d
|
ADD pandoradb_data.sql /docker-entrypoint-initdb.d
|
||||||
|
RUN chown mysql /docker-entrypoint-initdb.d
|
||||||
|
|
||||||
ENV MYSQL_DATABASE=pandora
|
ENV MYSQL_DATABASE=pandora
|
||||||
|
|
||||||
|
|
|
@ -45,13 +45,14 @@ RUN yum install -y \
|
||||||
php-zip \
|
php-zip \
|
||||||
nmap \
|
nmap \
|
||||||
net-snmp-utils \
|
net-snmp-utils \
|
||||||
|
mod_ssl \
|
||||||
xprobe2
|
xprobe2
|
||||||
|
|
||||||
#Clone the repo
|
#Clone the repo
|
||||||
RUN git clone -b develop https://github.com/pandorafms/pandorafms.git /tmp/pandorafms
|
RUN git clone -b develop https://github.com/pandorafms/pandorafms.git /tmp/pandorafms
|
||||||
|
|
||||||
#Exposing ports for: HTTP, SNMP Traps, Tentacle protocol
|
#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
|
# Simple startup script to avoid some issues observed with container restart
|
||||||
ADD docker_entrypoint.sh /entrypoint.sh
|
ADD docker_entrypoint.sh /entrypoint.sh
|
||||||
|
|
Loading…
Reference in New Issue