2018-04-26 13:13:56 +00:00
|
|
|
FROM verdnatura/vn-mysql:latest
|
2018-05-08 09:34:50 +00:00
|
|
|
ENV MYSQL_ROOT_PASSWORD root
|
2018-05-24 09:20:32 +00:00
|
|
|
ENV TZ=Europe/Madrid
|
2018-02-07 15:45:40 +00:00
|
|
|
WORKDIR /docker-entrypoint-initdb.d
|
2018-05-08 09:34:50 +00:00
|
|
|
COPY install ./
|
2018-04-26 13:13:56 +00:00
|
|
|
RUN chmod -R 777 .
|
2018-05-08 09:34:50 +00:00
|
|
|
RUN mkdir /data
|
|
|
|
RUN chmod 777 /data
|
|
|
|
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-04-26 13:13:56 +00:00
|
|
|
EXPOSE 3306
|