File tree 6 files changed +18
-12
lines changed
6 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,9 @@ RUN set -ex \
98
98
$runDeps \
99
99
bash \
100
100
su-exec \
101
- # tzdata loading functionality is optional, and fails gracefully
102
- # tzdata \
101
+ # tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
102
+ # https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
103
+ tzdata \
103
104
&& apk del .fetch-deps .build-deps \
104
105
&& cd / \
105
106
&& rm -rf \
Original file line number Diff line number Diff line change @@ -98,8 +98,9 @@ RUN set -ex \
98
98
$runDeps \
99
99
bash \
100
100
su-exec \
101
- # tzdata loading functionality is optional, and fails gracefully
102
- # tzdata \
101
+ # tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
102
+ # https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
103
+ tzdata \
103
104
&& apk del .fetch-deps .build-deps \
104
105
&& cd / \
105
106
&& rm -rf \
Original file line number Diff line number Diff line change @@ -98,8 +98,9 @@ RUN set -ex \
98
98
$runDeps \
99
99
bash \
100
100
su-exec \
101
- # tzdata loading functionality is optional, and fails gracefully
102
- # tzdata \
101
+ # tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
102
+ # https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
103
+ tzdata \
103
104
&& apk del .fetch-deps .build-deps \
104
105
&& cd / \
105
106
&& rm -rf \
Original file line number Diff line number Diff line change @@ -98,8 +98,9 @@ RUN set -ex \
98
98
$runDeps \
99
99
bash \
100
100
su-exec \
101
- # tzdata loading functionality is optional, and fails gracefully
102
- # tzdata \
101
+ # tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
102
+ # https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
103
+ tzdata \
103
104
&& apk del .fetch-deps .build-deps \
104
105
&& cd / \
105
106
&& rm -rf \
Original file line number Diff line number Diff line change @@ -98,8 +98,9 @@ RUN set -ex \
98
98
$runDeps \
99
99
bash \
100
100
su-exec \
101
- # tzdata loading functionality is optional, and fails gracefully
102
- # tzdata \
101
+ # tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
102
+ # https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
103
+ tzdata \
103
104
&& apk del .fetch-deps .build-deps \
104
105
&& cd / \
105
106
&& rm -rf \
Original file line number Diff line number Diff line change @@ -98,8 +98,9 @@ RUN set -ex \
98
98
$runDeps \
99
99
bash \
100
100
su-exec \
101
- # tzdata loading functionality is optional, and fails gracefully
102
- # tzdata \
101
+ # tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
102
+ # https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
103
+ tzdata \
103
104
&& apk del .fetch-deps .build-deps \
104
105
&& cd / \
105
106
&& rm -rf \
You can’t perform that action at this time.
0 commit comments