18 lines
322 B
Docker
18 lines
322 B
Docker
FROM mysql:5.6.37
|
|
|
|
ENV MYSQL_ALLOW_EMPTY_PASSWORD yes
|
|
ENV TZ GMT-1
|
|
|
|
WORKDIR /docker-entrypoint-initdb.d
|
|
COPY *.sql ./
|
|
COPY 02-changes.sh .
|
|
COPY changes changes
|
|
RUN chmod -R 755 .
|
|
|
|
CMD ["mysqld"]
|
|
|
|
#HEALTHCHECK --interval=5s --timeout=10s --retries=200 \
|
|
# CMD mysqladmin ping -h 127.0.0.1 -u root || exit 1
|
|
|
|
EXPOSE 3306
|