fixed MySQL shutdown
This commit is contained in:
@@ -11,6 +11,6 @@ RUN /root/config.sh
|
|||||||
|
|
||||||
COPY scripts/* /docker-entrypoint-initdb.d/
|
COPY scripts/* /docker-entrypoint-initdb.d/
|
||||||
|
|
||||||
RUN /entrypoint.sh mysqld & while [ ! -f /tmp/finished ]; do sleep 10; done && mysqladmin shutdown
|
RUN /entrypoint.sh mysqld & while [ ! -f /tmp/finished ]; do sleep 10; done
|
||||||
RUN rm /docker-entrypoint-initdb.d/*
|
RUN rm /docker-entrypoint-initdb.d/*
|
||||||
|
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# signal that the import has finsihed
|
# signal that the import has finsihed
|
||||||
sleep 5
|
|
||||||
touch /tmp/finished
|
touch /tmp/finished
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user