Added new Dockerfile for pandorafms-mysql image
This commit is contained in:
parent
78d87cc12b
commit
efa9105386
|
@ -0,0 +1,9 @@
|
|||
FROM mysql:5.5
|
||||
MAINTAINER Pandora FMS Team <info@pandorafms.com>
|
||||
|
||||
WORKDIR /pandorafms/pandora_console
|
||||
ADD pandoradb.sql /docker-entrypoint-initdb.d
|
||||
ADD pandoradb_data.sql /docker-entrypoint-initdb.d
|
||||
RUN /bin/bash -c 'echo "CREATE DATABASE pandora" > /docker-entrypoint-initdb.d/create_pandoradb.sql'
|
||||
RUN /bin/bash -c 'sed -i "1iUSE pandora" /docker-entrypoint-initdb.d/pandoradb.sql'
|
||||
RUN /bin/bash -c 'sed -i "1iUSE pandora" /docker-entrypoint-initdb.d/pandoradb_data.sql'
|
Loading…
Reference in New Issue