15 lines
397 B
Docker
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 |