Fix timezone
This commit is contained in:
parent
7dd7765dda
commit
6e3b571755
@ -10,7 +10,8 @@ FROM alpine:latest
|
|||||||
|
|
||||||
ENV TIME_ZONE=Asia/Shanghai
|
ENV TIME_ZONE=Asia/Shanghai
|
||||||
|
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone
|
RUN apk update && apk add tzdata \
|
||||||
|
&& ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user