diff --git a/image/system-alinux3/Dockerfile b/image/system-alinux3/Dockerfile index 159d897..86a95df 100644 --- a/image/system-alinux3/Dockerfile +++ b/image/system-alinux3/Dockerfile @@ -6,5 +6,6 @@ WORKDIR /home/admin # 升级会有很多问题,比如nginx编译失败等 #RUN yum update -y && yum clean all; + RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone; \ sed -i 's/mirrors.cloud.aliyuncs.com/mirrors.aliyun.com/' /etc/yum.repos.d/*.repo; \ No newline at end of file