🐳 Work about Docker. 修改docker 时区问题

This commit is contained in:
冷冷 committed 2020-01-30 12:38:26 +08:00
1 parent 619f5ffab4
commit 7a815e6d4c
14 files changed
+43 -15

No files matched your search

+3 -1
View File
@@ -2,7 +2,9 @@ FROM java:8-jre
MAINTAINER 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
RUN mkdir -p /pigx-codegen