Skip to content

Commit 06f9a36

Browse files
committed
ci(trivy): disable caching
1 parent f65d370 commit 06f9a36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

json/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 upgrade -no-cache \
16-
&& apk add -no-cache \
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 \
@@ -25,7 +25,7 @@ RUN apk upgrade –-no-cache \
2525
py3-pip=25.1.1-r0 \
2626
python3=3.12.11-r0 \
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)