Skip to content

Commit db43211

Browse files
committed
ci(trivy): disable apk caching
1 parent ca7ea51 commit db43211

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qrcode/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ 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
coreutils=9.7-r1 \
1818
curl=8.14.1-r1 \
1919
git=2.49.1-r0 \
2020
libqrencode-tools=4.1.1-r3 \
2121
py3-pip=25.1.1-r0 \
2222
python3=3.12.11-r0 \
23-
&& apk cache clean \
23+
&& apk cache --no-cache clean \
2424
&& rm -rf /var/cache/apk/*
2525

2626
RUN adduser \

0 commit comments

Comments
 (0)