mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-14 06:09:03 +08:00
🐳 Work about Docker. 修改docker 时区问题
This commit is contained in:
1 parent
619f5ffab4
commit
7a815e6d4c
14 files changed
+43
-15
No files matched your search
+3
-1
@@ -2,7 +2,9 @@ FROM mysql:8.0.18
|
||||
|
||||
MAINTAINER lengleng(wangiegie@gmail.com)
|
||||
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
||||
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
COPY ./1schema.sql /docker-entrypoint-initdb.d
|
||||
|
||||
|
||||
Reference in new issue
Block a user