Dockerfile/alpine/Dockerfile
2019-11-11 15:48:20 +08:00

15 lines
397 B
Docker

FROM alpine
LABEL maintainer="ehlxr <ehlxr.me@gmail.com>"
ENV TZ "Asia/Shanghai"
# RUN apk upgrade --update \
# && apk add tzdata \
# && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
# && echo ${TZ} > /etc/timezone \
# && rm -rf /var/cache/apk/*
COPY Shanghai /usr/share/zoneinfo/${TZ}
RUN ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone