Skip to content

Instantly share code, notes, and snippets.

@yangyang5214
Last active September 26, 2022 06:18
Show Gist options
  • Save yangyang5214/68d7e0c79664e16e0a9d9623e6678edf to your computer and use it in GitHub Desktop.
Save yangyang5214/68d7e0c79664e16e0a9d9623e6678edf to your computer and use it in GitHub Desktop.
alpine 设置时区
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