Skip to content

Commit

Permalink
Update dockerfile to add tzdata
Browse files Browse the repository at this point in the history
Add tzdata so we can use the environment variable TZ to set a local timezone. Alpine lacks the package tzdata. Also bump version.

For more information about Alpine images:
gliderlabs/docker-alpine#136
  • Loading branch information
fehrm authored Jul 31, 2018
1 parent 93aa25d commit cc07f6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ VOLUME /syncthing/config /syncthing/data
CMD /start.sh
ADD start.sh /

ENV SYNCTHING_VERSION=0.14.46
ENV SYNCTHING_VERSION=0.14.49

RUN apk upgrade --no-cache \
&& apk add --no-cache apr apr-util ca-certificates su-exec xmlstarlet \
&& apk add --no-cache apr apr-util ca-certificates su-exec xmlstarlet tzdata \
&& apk add --no-cache --virtual .build-deps apache2-utils curl tar \
&& cd /usr/bin \
&& cp htpasswd /tmp \
Expand Down

0 comments on commit cc07f6b

Please sign in to comment.