From 7c7ca54eee0a1ea6f610cd5db4b97f69c27b0ed3 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov <thresh@nginx.com> Date: Thu, 21 Dec 2017 14:32:22 +0300 Subject: [PATCH] Added tzdata package to alpine variants. Closes: #204 Closes: #149 Closes: #150 --- mainline/alpine-perl/Dockerfile | 4 ++++ mainline/alpine/Dockerfile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/mainline/alpine-perl/Dockerfile b/mainline/alpine-perl/Dockerfile index 6ef5b03..e0ec908 100644 --- a/mainline/alpine-perl/Dockerfile +++ b/mainline/alpine-perl/Dockerfile @@ -133,6 +133,10 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \ && apk del .gettext \ && mv /tmp/envsubst /usr/local/bin/ \ \ + # Bring in tzdata so users could set the timezones through the environment + # variables + && apk add --no-cache tzdata \ + \ # forward request and error logs to docker log collector && ln -sf /dev/stdout /var/log/nginx/access.log \ && ln -sf /dev/stderr /var/log/nginx/error.log diff --git a/mainline/alpine/Dockerfile b/mainline/alpine/Dockerfile index c027c1e..77999cb 100644 --- a/mainline/alpine/Dockerfile +++ b/mainline/alpine/Dockerfile @@ -128,6 +128,10 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \ && apk del .gettext \ && mv /tmp/envsubst /usr/local/bin/ \ \ + # Bring in tzdata so users could set the timezones through the environment + # variables + && apk add --no-cache tzdata \ + \ # forward request and error logs to docker log collector && ln -sf /dev/stdout /var/log/nginx/access.log \ && ln -sf /dev/stderr /var/log/nginx/error.log -- GitLab