From 6a98e7d9143c0f31d0cc81d2645f9f979a0c87d4 Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Fri, 15 Jul 2016 04:55:05 +0200 Subject: [PATCH] docker: Support timezones (#3262) --- Dockerfile | 2 +- Dockerfile.rpi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e45c0c065c..3a3c405118 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER jp@roemer.im # Install system utils & Gogs runtime dependencies ADD https://github.com/tianon/gosu/releases/download/1.9/gosu-amd64 /usr/sbin/gosu RUN chmod +x /usr/sbin/gosu \ - && apk --no-cache --no-progress add ca-certificates bash git linux-pam s6 curl openssh socat + && apk --no-cache --no-progress add ca-certificates bash git linux-pam s6 curl openssh socat tzdata ENV GOGS_CUSTOM /data/gogs diff --git a/Dockerfile.rpi b/Dockerfile.rpi index 948f8f178c..8fbe8252b6 100644 --- a/Dockerfile.rpi +++ b/Dockerfile.rpi @@ -7,7 +7,7 @@ RUN chmod +x /usr/sbin/gosu \ && echo "http://dl-4.alpinelinux.org/alpine/v3.3/main/" | tee /etc/apk/repositories \ && echo "http://dl-4.alpinelinux.org/alpine/v3.3/community/" | tee -a /etc/apk/repositories \ && apk -U --no-progress upgrade && rm -f /var/cache/apk/APKINDEX.* \ - && apk --no-cache --no-progress add ca-certificates bash git linux-pam s6 curl openssh socat + && apk --no-cache --no-progress add ca-certificates bash git linux-pam s6 curl openssh socat tzdata ENV GOGS_CUSTOM /data/gogs