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 and Fehrm committed Aug 3, 2018
1 parent 16e66cf commit 5615a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ADD start.sh /
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 tzdata xmlstarlet \
&& apk add --no-cache --virtual .build-deps apache2-utils curl tar \
&& cd /usr/bin \
&& cp htpasswd /tmp \
Expand Down

0 comments on commit 5615a73

Please sign in to comment.