Skip to content

Commit b7bbfd6

Browse files
committed
ci(trivy): disable apk caching
1 parent 270f34e commit b7bbfd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crypt/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ ARG USER_GECOS=Default
1212
SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
1313

1414
# hadolint ignore=DL3019
15-
RUN apk -U upgrade \
16-
&& apk add \
15+
RUN apk upgrade --no-cache \
16+
&& apk add --no-cache \
1717
age=1.2.1-r6 \
1818
coreutils=9.7-r1 \
1919
curl=8.14.1-r1 \
@@ -25,7 +25,7 @@ RUN apk -U upgrade \
2525
py3-pip=25.1.1-r0 \
2626
python3=3.12.11-r0 \
2727
xmlsec=1.3.7-r0 \
28-
&& apk cache clean \
28+
&& apk cache --no-cache clean \
2929
&& rm -rf /var/cache/apk/*
3030

3131
RUN adduser \

0 commit comments

Comments
 (0)