From 5f7cb4fd7cd83e5113d7a1ce94446d8c14f7c72a Mon Sep 17 00:00:00 2001 From: ehlxr Date: Mon, 11 Nov 2019 15:48:20 +0800 Subject: [PATCH] update alpine timezone --- alpine/Dockerfile | 14 +++++++++----- alpine/Shanghai | Bin 0 -> 545 bytes 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 alpine/Shanghai diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 99def96..6e2916c 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -4,8 +4,12 @@ LABEL maintainer="ehlxr " 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/* \ No newline at end of file +# 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 \ No newline at end of file diff --git a/alpine/Shanghai b/alpine/Shanghai new file mode 100644 index 0000000000000000000000000000000000000000..ce9e00a5db7c447fde613c59b214e8070f30ba2f GIT binary patch literal 545 zcmbu*KQBX37{~Fa>ThGXu?mi&+QDKF36auDBdLYEFw~^d?V4RTCt+f_yM-6v4M?P` zrdx~ZyEy4);`!cH4B|AWpQd-YzpsDXsISV8lh%K@oN2xMp0xV)a#XXeiO-1=Gd?(Kzr-Fb9xyIFa!HeGMCDIcTtpg%LP{q4}rJ{_33#$9Zp>-+h=%Q$=X zU=|7|@nYr5EKP-8Zu!*Y1~o4~Rx$Zb(Hlzr`Vl$r>6=Itr-nrWE92FDUrJ@YhdvMV z_