Skip to content

Commit 9c5d911

Browse files
committed
fix(Dockerfile): TZ tzdata fix
1 parent bf470da commit 9c5d911

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ RUN if [ -n "$http_proxy" ] ; then \
2121
ARG REQUESTS_CA_BUNDLE=${http_proxy:+/usr/local/share/ca-certificates/squid-self-signed.crt}
2222

2323
ARG DEBIAN_FRONTEND=noninteractive
24+
25+
ARG TZ=UTC
26+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
27+
2428
RUN apt-get update
2529
RUN apt-get install -yq apt-utils
2630
RUN apt-get install -yqq git zstd wget curl

0 commit comments

Comments
 (0)