Skip to content

Commit 60f677a

Browse files
committed
Use content of variable TZ.
1 parent 5752db3 commit 60f677a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

NodeBase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV DEBCONF_NONINTERACTIVE_SEEN true
99
# Possible alternative: https://github.com/docker/docker/issues/3359#issuecomment-32150214
1010
#===================
1111
ENV TZ "US/Pacific"
12-
RUN echo "US/Pacific" > /etc/timezone \
12+
RUN echo "${TZ}" > /etc/timezone \
1313
&& dpkg-reconfigure --frontend noninteractive tzdata
1414

1515
#==============

NodeBase/Dockerfile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENV DEBCONF_NONINTERACTIVE_SEEN true
88
# Possible alternative: https://github.com/docker/docker/issues/3359#issuecomment-32150214
99
#===================
1010
ENV TZ "US/Pacific"
11-
RUN echo "US/Pacific" > /etc/timezone \
11+
RUN echo "${TZ}" > /etc/timezone \
1212
&& dpkg-reconfigure --frontend noninteractive tzdata
1313

1414
#==============

0 commit comments

Comments
 (0)