update alpine timezone
This commit is contained in:
parent
6a8f12cfe8
commit
5f7cb4fd7c
@ -4,8 +4,12 @@ LABEL maintainer="ehlxr <ehlxr.me@gmail.com>"
|
|||||||
|
|
||||||
ENV TZ "Asia/Shanghai"
|
ENV TZ "Asia/Shanghai"
|
||||||
|
|
||||||
RUN apk upgrade --update \
|
# RUN apk upgrade --update \
|
||||||
&& apk add tzdata \
|
# && apk add tzdata \
|
||||||
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
|
# && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
|
||||||
&& echo ${TZ} > /etc/timezone \
|
# && echo ${TZ} > /etc/timezone \
|
||||||
&& rm -rf /var/cache/apk/*
|
# && rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
COPY Shanghai /usr/share/zoneinfo/${TZ}
|
||||||
|
RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
|
||||||
|
&& echo ${TZ} > /etc/timezone
|
BIN
alpine/Shanghai
Normal file
BIN
alpine/Shanghai
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user