2017-09-21 10:17:48 +00:00
|
|
|
FROM mysql:5.6.37
|
2017-03-06 10:44:02 +00:00
|
|
|
|
2017-09-21 10:17:48 +00:00
|
|
|
ENV MYSQL_ALLOW_EMPTY_PASSWORD yes
|
2018-01-10 13:03:52 +00:00
|
|
|
ENV TZ GMT-1
|
2017-03-06 10:44:02 +00:00
|
|
|
|
2018-02-07 15:45:40 +00:00
|
|
|
WORKDIR /docker-entrypoint-initdb.d
|
|
|
|
COPY *.sql ./
|
2018-02-16 12:01:04 +00:00
|
|
|
COPY 03-changes.sh .
|
2018-02-07 15:45:40 +00:00
|
|
|
COPY changes changes
|
|
|
|
RUN chmod -R 755 .
|
2017-10-18 04:41:17 +00:00
|
|
|
|
2017-09-21 10:17:48 +00:00
|
|
|
CMD ["mysqld"]
|
|
|
|
|
2018-02-13 21:40:02 +00:00
|
|
|
#HEALTHCHECK --interval=5s --timeout=10s --retries=200 \
|
|
|
|
# CMD mysqladmin ping -h 127.0.0.1 -u root || exit 1
|
|
|
|
|
2018-01-03 11:00:59 +00:00
|
|
|
EXPOSE 3306
|