Files
robot-shop/mysql/Dockerfile

19 lines
399 B
Docker
Raw Normal View History

2020-07-06 10:29:48 +01:00
FROM mysql:5.7.30
2018-01-12 17:26:25 +00:00
VOLUME /data
2018-01-12 17:26:25 +00:00
ENV MYSQL_ALLOW_EMPTY_PASSWORD=yes \
MYSQL_DATABASE=cities \
MYSQL_USER=shipping \
MYSQL_PASSWORD=secret
# change datadir entry in /etc/mysql/my.cnf
COPY config.sh /root/
RUN /root/config.sh
COPY scripts/* /docker-entrypoint-initdb.d/
2020-09-01 16:25:04 +01:00
#RUN /entrypoint.sh mysqld & while [ ! -f /tmp/finished ]; do sleep 10; done
#RUN rm /docker-entrypoint-initdb.d/*
2018-01-12 17:26:25 +00:00