Skip to content

Commit 4541682

Browse files
committed
ci(trivy): disable apk caching
1 parent ff40c09 commit 4541682

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

csv/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
coreutils=9.7-r1 \
1818
csvq=1.18.1-r18 \
1919
curl=8.14.1-r1 \
@@ -25,7 +25,7 @@ RUN apk -U upgrade \
2525
python3=3.12.11-r0 \
2626
sed=4.9-r2 \
2727
yq-go=4.46.1-r1 \
28-
&& apk cache clean \
28+
&& apk cache --no-cache clean \
2929
&& rm -rf /var/cache/apk/*
3030

3131
RUN pipx ensurepath --global \

0 commit comments

Comments
 (0)