Fix timezone

This commit is contained in:
kzw200015 2020-04-08 11:38:14 +08:00
parent 7dd7765dda
commit 6e3b571755

View File

@ -10,7 +10,8 @@ FROM alpine:latest
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