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