Skip to content

Instantly share code, notes, and snippets.

@SolemnJoker
Last active November 7, 2020 06:48
Show Gist options
  • Save SolemnJoker/79a9971bf9ea87063ca2b3caad6e4470 to your computer and use it in GitHub Desktop.
Save SolemnJoker/79a9971bf9ea87063ca2b3caad6e4470 to your computer and use it in GitHub Desktop.
[dockerfile] #dockerfile #docker
Run sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && apk update &&\
apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone \
&& apk del tzdata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment