Last active
September 26, 2022 06:18
-
-
Save yangyang5214/68d7e0c79664e16e0a9d9623e6678edf to your computer and use it in GitHub Desktop.
alpine 设置时区
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN apk update \ | |
&& apk add tzdata \ | |
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ | |
&& echo "Asia/Shanghai" > /etc/timezone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment