]> source.dussan.org Git - gitea.git/commitdiff
docker: Support timezones (#3262)
authorAndrey Arapov <andrey.arapov@nixaid.com>
Fri, 15 Jul 2016 02:55:05 +0000 (04:55 +0200)
committer无闻 <u@gogs.io>
Fri, 15 Jul 2016 02:55:05 +0000 (10:55 +0800)
Dockerfile
Dockerfile.rpi

index e45c0c065cb8db7e33105ecb785c079403f84320..3a3c4051183ff6f1d2b138fc9c9ef4d0b425cc0a 100644 (file)
@@ -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
 
index 948f8f178c586a7731d5b077ecd76fa68df5cfff..8fbe8252b69425493704abdb519ec0f45bf09717 100644 (file)
@@ -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