Skip to content

Commit f4e3623

Browse files
authored
Merge pull request #330 from nvllsvm/alpinecache
Add --no-cache for all apk commands
2 parents c249a89 + 0c0365d commit f4e3623

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

2.7/alpine3.6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ RUN set -ex \
7979
| tr ',' '\n' \
8080
| sort -u \
8181
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
82-
| xargs -rt apk add --virtual .python-rundeps \
82+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8383
&& apk del .build-deps \
8484
\
8585
&& find /usr/local -depth \

2.7/alpine3.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ RUN set -ex \
7979
| tr ',' '\n' \
8080
| sort -u \
8181
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
82-
| xargs -rt apk add --virtual .python-rundeps \
82+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8383
&& apk del .build-deps \
8484
\
8585
&& find /usr/local -depth \

2.7/alpine3.8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ RUN set -ex \
7979
| tr ',' '\n' \
8080
| sort -u \
8181
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
82-
| xargs -rt apk add --virtual .python-rundeps \
82+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8383
&& apk del .build-deps \
8484
\
8585
&& find /usr/local -depth \

3.4/alpine3.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN set -ex \
8181
| tr ',' '\n' \
8282
| sort -u \
8383
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
84-
| xargs -rt apk add --virtual .python-rundeps \
84+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8585
&& apk del .build-deps \
8686
\
8787
&& find /usr/local -depth \

3.4/alpine3.8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN set -ex \
8181
| tr ',' '\n' \
8282
| sort -u \
8383
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
84-
| xargs -rt apk add --virtual .python-rundeps \
84+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8585
&& apk del .build-deps \
8686
\
8787
&& find /usr/local -depth \

3.5/alpine3.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN set -ex \
8181
| tr ',' '\n' \
8282
| sort -u \
8383
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
84-
| xargs -rt apk add --virtual .python-rundeps \
84+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8585
&& apk del .build-deps \
8686
\
8787
&& find /usr/local -depth \

3.5/alpine3.8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN set -ex \
8181
| tr ',' '\n' \
8282
| sort -u \
8383
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
84-
| xargs -rt apk add --virtual .python-rundeps \
84+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8585
&& apk del .build-deps \
8686
\
8787
&& find /usr/local -depth \

3.6/alpine3.6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN set -ex \
8383
| tr ',' '\n' \
8484
| sort -u \
8585
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
86-
| xargs -rt apk add --virtual .python-rundeps \
86+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8787
&& apk del .build-deps \
8888
\
8989
&& find /usr/local -depth \

3.6/alpine3.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN set -ex \
8383
| tr ',' '\n' \
8484
| sort -u \
8585
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
86-
| xargs -rt apk add --virtual .python-rundeps \
86+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8787
&& apk del .build-deps \
8888
\
8989
&& find /usr/local -depth \

3.6/alpine3.8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN set -ex \
8383
| tr ',' '\n' \
8484
| sort -u \
8585
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
86-
| xargs -rt apk add --virtual .python-rundeps \
86+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8787
&& apk del .build-deps \
8888
\
8989
&& find /usr/local -depth \

3.7/alpine3.7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN set -ex \
8484
| tr ',' '\n' \
8585
| sort -u \
8686
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
87-
| xargs -rt apk add --virtual .python-rundeps \
87+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8888
&& apk del .build-deps \
8989
\
9090
&& find /usr/local -depth \

3.7/alpine3.8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN set -ex \
8484
| tr ',' '\n' \
8585
| sort -u \
8686
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
87-
| xargs -rt apk add --virtual .python-rundeps \
87+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8888
&& apk del .build-deps \
8989
\
9090
&& find /usr/local -depth \

Dockerfile-alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ RUN set -ex \
8080
| tr ',' '\n' \
8181
| sort -u \
8282
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
83-
| xargs -rt apk add --virtual .python-rundeps \
83+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
8484
&& apk del .build-deps \
8585
\
8686
&& find /usr/local -depth \

Dockerfile-caveman-alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ RUN set -ex \
7575
| tr ',' '\n' \
7676
| sort -u \
7777
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
78-
| xargs -rt apk add --virtual .python-rundeps \
78+
| xargs -rt apk add --no-cache --virtual .python-rundeps \
7979
&& apk del .build-deps \
8080
\
8181
&& find /usr/local -depth \

0 commit comments

Comments
 (0)