Sfoglia il codice sorgente

dockerfile: edit timezone for Shanghai timezone

Yi 1 anno fa
parent
commit
5d696f04bc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -23,7 +23,7 @@ owner="yiping.xu"
 WORKDIR /app/kpt-tmr
 
 RUN apk add --no-cache tzdata \
-&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
+&& ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
 && echo "Asia/Shanghai" > /etc/timezone \
 && apk del tzdata