File tree Expand file tree Collapse file tree 6 files changed +18
-12
lines changed Expand file tree Collapse file tree 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 \
<
10000
td data-grid-cell-id="diff-725a22b1e94dde0665dd30c7cd5012178a50089f8b1f2b864fe8002b7dbede95-empty-empty-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-accent-muted, var(--color-accent-subtle));flex-grow:1" tabindex="-1" valign="top" class="focusable-grid-cell diff-hunk-cell left-side" colSpan="4">
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