From 51329bf000babeba7c219a99f7cf7bbc2442045a Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Wed, 15 Jun 2022 18:01:39 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E9=BB=98=E8=AE=A4=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77c1d9854..a691f0d1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,8 +51,9 @@ RUN ARCH=$(uname -m) && case $ARCH in aarch64) ARCH="arm64";; x86_64) ARCH="amd6 rm -rf /tmp/* /var/tmp/* /var/cache/apk/* && \ chmod -R 755 /tmp && mkdir -p /opt/webkubectl - -ENV TZ='Asia/Shanghai'; +RUN apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ + && echo "Asia/Shanghai" > /etc/timezone \ + && apk del tzdata COPY vimrc.local /etc/vim