Skip to content

Commit a55704d

Browse files
committed
Add --no-cache to all apk add commands
1 parent c249a89 commit a55704d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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)