salix/services/db/Dockerfile

18 lines
322 B
Docker
Raw Normal View History

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
ENV TZ GMT-1
2017-03-06 10:44:02 +00:00
WORKDIR /docker-entrypoint-initdb.d
COPY *.sql ./
COPY 02-changes.sh .
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"]
#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