Skip to content

Commit

Permalink
Merge pull request #226 from lockie/master
Browse files Browse the repository at this point in the history
Add missing timezone info to alpine variant
  • Loading branch information
tianon authored Nov 22, 2016
2 parents 1b0fec8 + 9c98875 commit d2b3854
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
5 changes: 3 additions & 2 deletions 9.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ RUN set -ex \
$runDeps \
bash \
su-exec \
# tzdata loading functionality is optional, and fails gracefully
# tzdata \
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
tzdata \
&& apk del .fetch-deps .build-deps \
&& cd / \
&& rm -rf \
Expand Down
5 changes: 3 additions & 2 deletions 9.3/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ RUN set -ex \
$runDeps \
bash \
su-exec \
# tzdata loading functionality is optional, and fails gracefully
# tzdata \
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
tzdata \
&& apk del .fetch-deps .build-deps \
&& cd / \
&& rm -rf \
Expand Down
5 changes: 3 additions & 2 deletions 9.4/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ RUN set -ex \
$runDeps \
bash \
su-exec \
# tzdata loading functionality is optional, and fails gracefully
# tzdata \
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
tzdata \
&& apk del .fetch-deps .build-deps \
&& cd / \
&& rm -rf \
Expand Down
5 changes: 3 additions & 2 deletions 9.5/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ RUN set -ex \
$runDeps \
bash \
su-exec \
# tzdata loading functionality is optional, and fails gracefully
# tzdata \
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
tzdata \
&& apk del .fetch-deps .build-deps \
&& cd / \
&& rm -rf \
Expand Down
5 changes: 3 additions & 2 deletions 9.6/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ RUN set -ex \
$runDeps \
bash \
su-exec \
# tzdata loading functionality is optional, and fails gracefully
# tzdata \
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
tzdata \
&& apk del .fetch-deps .build-deps \
&& cd / \
&& rm -rf \
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ RUN set -ex \
$runDeps \
bash \
su-exec \
# tzdata loading functionality is optional, and fails gracefully
# tzdata \
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
tzdata \
&& apk del .fetch-deps .build-deps \
&& cd / \
&& rm -rf \
Expand Down

0 comments on commit d2b3854

Please sign in to comment.