Files
robot-shop/mysql/Dockerfile

19 lines
396 B
Docker
Raw Permalink Normal View History

2021-08-31 16:15:36 +01:00
FROM mysql:5.7
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