salix/services/db/Dockerfile

21 lines
672 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
2018-01-03 11:00:59 +00:00
COPY localDB01StructureAccount.sql /docker-entrypoint-initdb.d
COPY localDB02StructureVn2008.sql /docker-entrypoint-initdb.d
COPY localDB03StructureVn.sql /docker-entrypoint-initdb.d
COPY localDB04StructureOthersDB.sql /docker-entrypoint-initdb.d
COPY localDB05StructureUtil.sql /docker-entrypoint-initdb.d
COPY localDB06Views2008.sql /docker-entrypoint-initdb.d
COPY localDB07ViewsVn.sql /docker-entrypoint-initdb.d
COPY localDB08OthersViews.sql /docker-entrypoint-initdb.d
COPY localDB09Inserts.sql /docker-entrypoint-initdb.d
2017-10-13 06:53:54 +00:00
2017-10-18 04:41:17 +00:00
RUN chmod -R 755 /docker-entrypoint-initdb.d
2017-09-21 10:17:48 +00:00
CMD ["mysqld"]
2018-01-03 11:00:59 +00:00
EXPOSE 3306