File tree Expand file tree Collapse file tree 7 files changed +7
-42
lines changed Expand file tree Collapse file tree 7 files changed +7
-42
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ ENV PG_SHA256 4d701f450cd92ffb123cf6c296e9656abbc2ab7ea6507894ff1e2475ae0754e1
23
23
24
24
RUN set -ex \
25
25
\
26
- && apk add --no-cache --virtual .fetch-deps \
27
- ca-certificates \
28
- openssl \
29
- tar \
30
- \
31
26
&& wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" \
32
27
&& echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c - \
33
28
&& mkdir -p /usr/src/postgresql \
@@ -124,7 +119,7 @@ RUN set -ex \
124
119
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
125
120
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
126
121
tzdata \
127
- && apk del .fetch-deps .build-deps \
122
+ && apk del --no-network .build-deps \
128
123
&& cd / \
129
124
&& rm -rf \
130
125
/usr/src/postgresql \
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ ENV PG_SHA256 eaf2f4329ccc349c89e950761b81daf8c99bb8966abcab5665ccd6ee95c77ae2
23
23
24
24
RUN set -ex \
25
25
\
26
- && apk add --no-cache --virtual .fetch-deps \
27
- ca-certificates \
28
- openssl \
29
- tar \
30
- \
31
26
&& wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" \
32
27
&& echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c - \
33
28
&& mkdir -p /usr/src/postgresql \
@@ -126,7 +121,7 @@ RUN set -ex \
126
121
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
127
122
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
128
123
tzdata \
129
- && apk del .fetch-deps .build-deps \
124
+ && apk del --no-network .build-deps \
130
125
&& cd / \
131
126
&& rm -rf \
132
127
/usr/src/postgresql \
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ ENV PG_SHA256 94ed64a6179048190695c86ec707cc25d016056ce10fc9d229267d9a8f1dcf41
23
23
24
24
RUN set -ex \
25
25
\
26
- && apk add --no-cache --virtual .fetch-deps \
27
- ca-certificates \
28
- openssl \
29
- tar \
30
- \
31
26
&& wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" \
32
27
&& echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c - \
33
28
&& mkdir -p /usr/src/postgresql \
@@ -126,7 +121,7 @@ RUN set -ex \
126
121
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
127
122
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
128
123
tzdata \
129
- && apk del .fetch-deps .build-deps \
124
+ && apk del --no-network .build-deps \
130
125
&& cd / \
131
126
&& rm -rf \
132
127
/usr/src/postgresql \
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ ENV PG_SHA256 249ba0d0227d5393b83d397f2543354bfee579276cb1e821e9b7d904a42039e1
23
23
24
24
RUN set -ex \
25
25
\
26
- && apk add --no-cache --virtual .fetch-deps \
27
- ca-certificates \
28
- openssl \
29
- tar \
30
- \
31
26
&& wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" \
32
27
&& echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c - \
33
28
&& mkdir -p /usr/src/postgresql \
@@ -126,7 +121,7 @@ RUN set -ex \
126
121
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
127
122
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
128
123
tzdata \
129
- && apk del .fetch-deps .build-deps \
124
+ && apk del --no-network .build-deps \
130
125
&& cd / \
131
126
&& rm -rf \
132
127
/usr/src/postgresql \
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ ENV PG_SHA256 48555470a17248cb204d25ab1ad4231ef16295db55161922f006b9942d69640f
23
23
24
24
RUN set -ex \
25
25
\
26
- && apk add --no-cache --virtual .fetch-deps \
27
- ca-certificates \
28
- openssl \
29
- tar \
30
- \
31
26
&& wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" \
32
27
&& echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c - \
33
28
&& mkdir -p /usr/src/postgresql \
@@ -122,7 +117,7 @@ RUN set -ex \
122
117
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
123
118
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
124
119
tzdata \
125
- && apk del .fetch-deps .build-deps \
120
+ && apk del --no-network .build-deps \
126
121
&& cd / \
127
122
&& rm -rf \
128
123
/usr/src/postgresql \
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ ENV PG_SHA256 517ec282b785e6d22f360c30ba0c5e2a506fca5ca07dcc545427511d94c89999
23
23
24
24
RUN set -ex \
25
25
\
26
- && apk add --no-cache --virtual .fetch-deps \
27
- ca-certificates \
28
- openssl \
29
- tar \
30
- \
31
26
&& wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" \
32
27
&& echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c - \
33
28
&& mkdir -p /usr/src/postgresql \
@@ -122,7 +117,7 @@ RUN set -ex \
122
117
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
123
118
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
124
119
tzdata \
125
- && apk del .fetch-deps .build-deps \
120
+ && apk del --no-network .build-deps \
126
121
&& cd / \
127
122
&& rm -rf \
128
123
/usr/src/postgresql \
Original file line number Diff line number Diff line change @@ -23,11 +23,6 @@ ENV PG_SHA256 %%PG_SHA256%%
23
23
24
24
RUN set -ex \
25
25
\
26
- && apk add --no-cache --virtual .fetch-deps \
27
- ca-certificates \
28
- openssl \
29
- tar \
30
- \
31
26
&& wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2" \
32
27
&& echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c - \
33
28
&& mkdir -p /usr/src/postgresql \
@@ -126,7 +121,7 @@ RUN set -ex \
126
121
# tzdata is optional, but only adds around 1Mb to image size and is recommended by Django documentation:
127
122
# https://docs.djangoproject.com/en/1.10/ref/databases/#optimizing-postgresql-s-configuration
128
123
tzdata \
129
- && apk del .fetch-deps .build-deps \
124
+ && apk del --no-network .build-deps \
130
125
&& cd / \
131
126
&& rm -rf \
132
127
/usr/src/postgresql \
You can’t perform that action at this time.
0 commit comments