Skip to content

Commit f4e3623

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

14 files changed

Lines changed: 14 additions & 14 deletions

File tree

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 \

0 commit comments

Comments
 (0)