Skip to content

Commit a55704d

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)
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