添加 'mysql/5.7/Dockerfile'

master
jinql 2023-05-12 10:22:56 +00:00
parent 68750c8759
commit 3b5c1541d9
1 changed files with 8 additions and 0 deletions

8
mysql/5.7/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM mysql:5.7
ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone
COPY ./my.cnf /etc/mysql/my.cnf