Skip to content

Commit 7c7ca54

Browse files
committed
Added tzdata package to alpine variants.
Closes: nginx#204 Closes: nginx#149 Closes: nginx#150
1 parent c8bfb9b commit 7c7ca54

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

mainline/alpine-perl/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
133133
&& apk del .gettext \
134134
&& mv /tmp/envsubst /usr/local/bin/ \
135135
\
136+
# Bring in tzdata so users could set the timezones through the environment
137+
# variables
138+
&& apk add --no-cache tzdata \
139+
\
136140
# forward request and error logs to docker log collector
137141
&& ln -sf /dev/stdout /var/log/nginx/access.log \
138142
&& ln -sf /dev/stderr /var/log/nginx/error.log

mainline/alpine/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
128128
&& apk del .gettext \
129129
&& mv /tmp/envsubst /usr/local/bin/ \
130130
\
131+
# Bring in tzdata so users could set the timezones through the environment
132+
# variables
133+
&& apk add --no-cache tzdata \
134+
\
131135
# forward request and error logs to docker log collector
132136
&& ln -sf /dev/stdout /var/log/nginx/access.log \
133137
&& ln -sf /dev/stderr /var/log/nginx/error.log

0 commit comments

Comments
 (0)