Skip to content

Commit ba80ba5

Browse files
committed
Add --no-network
1 parent 024062f commit ba80ba5

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

3.5/alpine3.10/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN set -ex \
6060
xz-dev \
6161
zlib-dev \
6262
# add build deps before removing fetch deps in case there's overlap
63-
&& apk del .fetch-deps \
63+
&& apk del --no-network .fetch-deps \
6464
\
6565
&& cd /usr/src/python \
6666
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -120,7 +120,7 @@ RUN set -ex \
120120
| sort -u \
121121
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
122122
| xargs -rt apk add --no-cache --virtual .python-rundeps \
123-
&& apk del .build-deps \
123+
&& apk del --no-network .build-deps \
124124
\
125125
&& find /usr/local -depth \
126126
\( \

3.5/alpine3.11/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ RUN set -ex \
6060
xz-dev \
6161
zlib-dev \
6262
# add build deps before removing fetch deps in case there's overlap
63-
&& apk del .fetch-deps \
63+
&& apk del --no-network .fetch-deps \
6464
\
6565
&& cd /usr/src/python \
6666
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -120,7 +120,7 @@ RUN set -ex \
120120
| sort -u \
121121
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
122122
| xargs -rt apk add --no-cache --virtual .python-rundeps \
123-
&& apk del .build-deps \
123+
&& apk del --no-network .build-deps \
124124
\
125125
&& find /usr/local -depth \
126126
\( \

3.6/alpine3.10/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ RUN set -ex \
6262
xz-dev \
6363
zlib-dev \
6464
# add build deps before removing fetch deps in case there's overlap
65-
&& apk del .fetch-deps \
65+
&& apk del --no-network .fetch-deps \
6666
\
6767
&& cd /usr/src/python \
6868
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -122,7 +122,7 @@ RUN set -ex \
122122
| sort -u \
123123
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
124124
| xargs -rt apk add --no-cache --virtual .python-rundeps \
125-
&& apk del .build-deps \
125+
&& apk del --no-network .build-deps \
126126
\
127127
&& find /usr/local -depth \
128128
\( \

3.6/alpine3.11/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ RUN set -ex \
6262
xz-dev \
6363
zlib-dev \
6464
# add build deps before removing fetch deps in case there's overlap
65-
&& apk del .fetch-deps \
65+
&& apk del --no-network .fetch-deps \
6666
\
6767
&& cd /usr/src/python \
6868
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -122,7 +122,7 @@ RUN set -ex \
122122
| sort -u \
123123
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
124124
| xargs -rt apk add --no-cache --virtual .python-rundeps \
125-
&& apk del .build-deps \
125+
&& apk del --no-network .build-deps \
126126
\
127127
&& find /usr/local -depth \
128128
\( \

3.7/alpine3.10/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN set -ex \
6363
xz-dev \
6464
zlib-dev \
6565
# add build deps before removing fetch deps in case there's overlap
66-
&& apk del .fetch-deps \
66+
&& apk del --no-network .fetch-deps \
6767
\
6868
&& cd /usr/src/python \
6969
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -123,7 +123,7 @@ RUN set -ex \
123123
| sort -u \
124124
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
125125
| xargs -rt apk add --no-cache --virtual .python-rundeps \
126-
&& apk del .build-deps \
126+
&& apk del --no-network .build-deps \
127127
\
128128
&& find /usr/local -depth \
129129
\( \

3.7/alpine3.11/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN set -ex \
6363
xz-dev \
6464
zlib-dev \
6565
# add build deps before removing fetch deps in case there's overlap
66-
&& apk del .fetch-deps \
66+
&& apk del --no-network .fetch-deps \
6767
\
6868
&& cd /usr/src/python \
6969
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -123,7 +123,7 @@ RUN set -ex \
123123
| sort -u \
124124
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
125125
| xargs -rt apk add --no-cache --virtual .python-rundeps \
126-
&& apk del .build-deps \
126+
&& apk del --no-network .build-deps \
127127
\
128128
&& find /usr/local -depth \
129129
\( \

3.8/alpine3.10/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN set -ex \
6363
xz-dev \
6464
zlib-dev \
6565
# add build deps before removing fetch deps in case there's overlap
66-
&& apk del .fetch-deps \
66+
&& apk del --no-network .fetch-deps \
6767
\
6868
&& cd /usr/src/python \
6969
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -87,7 +87,7 @@ RUN set -ex \
8787
| sort -u \
8888
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
8989
| xargs -rt apk add --no-cache --virtual .python-rundeps \
90-
&& apk del .build-deps \
90+
&& apk del --no-network .build-deps \
9191
\
9292
&& find /usr/local -depth \
9393
\( \

3.8/alpine3.11/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN set -ex \
6363
xz-dev \
6464
zlib-dev \
6565
# add build deps before removing fetch deps in case there's overlap
66-
&& apk del .fetch-deps \
66+
&& apk del --no-network .fetch-deps \
6767
\
6868
&& cd /usr/src/python \
6969
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -87,7 +87,7 @@ RUN set -ex \
8787
| sort -u \
8888
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
8989
| xargs -rt apk add --no-cache --virtual .python-rundeps \
90-
&& apk del .build-deps \
90+
&& apk del --no-network .build-deps \
9191
\
9292
&& find /usr/local -depth \
9393
\( \

3.9-rc/alpine3.10/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN set -ex \
6363
xz-dev \
6464
zlib-dev \
6565
# add build deps before removing fetch deps in case there's overlap
66-
&& apk del .fetch-deps \
66+
&& apk del --no-network .fetch-deps \
6767
\
6868
&& cd /usr/src/python \
6969
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -87,7 +87,7 @@ RUN set -ex \
8787
| sort -u \
8888
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
8989
| xargs -rt apk add --no-cache --virtual .python-rundeps \
90-
&& apk del .build-deps \
90+
&& apk del --no-network .build-deps \
9191
\
9292
&& find /usr/local -depth \
9393
\( \

Dockerfile-alpine.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN set -ex \
5757
xz-dev \
5858
zlib-dev \
5959
# add build deps before removing fetch deps in case there's overlap
60-
&& apk del .fetch-deps \
60+
&& apk del --no-network .fetch-deps \
6161
\
6262
&& cd /usr/src/python \
6363
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
@@ -117,7 +117,7 @@ RUN set -ex \
117117
| sort -u \
118118
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
119119
| xargs -rt apk add --no-cache --virtual .python-rundeps \
120-
&& apk del .build-deps \
120+
&& apk del --no-network .build-deps \
121121
\
122122
&& find /usr/local -depth \
123123
\( \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy