Created
September 29, 2021 01:50
-
-
Save xinyii/f000359e204bda3e320ca39d156cce7d to your computer and use it in GitHub Desktop.
[Alpine setting the timezone] #linux
This file contains hidden or 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
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