Skip to content

Commit

Permalink
build: 默认时区
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghe-fit2cloud committed Jun 15, 2022
1 parent 374b69a commit 51329bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 51329bf

Please sign in to comment.