Skip to content

Instantly share code, notes, and snippets.

@dollarkillerx
Created February 2, 2021 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dollarkillerx/6a1393f6e13ad4b7fb2748c1d1b656f7 to your computer and use it in GitHub Desktop.
Save dollarkillerx/6a1393f6e13ad4b7fb2748c1d1b656f7 to your computer and use it in GitHub Desktop.
FROM alpine:latest
WORKDIR /app
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk add -U 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