Skip to content

Commit 27786ee

Browse files
committed
ci(trivy): disable apk caching
1 parent f5b4e2c commit 27786ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
1111

1212
# @TL FIXME: xml2rfc currently only in edge stream
1313
# hadolint ignore=DL3019
14-
RUN apk -U upgrade \
15-
&& apk add \
14+
RUN apk upgrade --no-cache \
15+
&& apk add --no-cache \
1616
coreutils=9.7-r1 \
1717
curl=8.14.1-r1 \
1818
git=2.49.1-r0 \
@@ -30,7 +30,7 @@ RUN apk -U upgrade \
3030
xmlstarlet=1.6.1-r2 \
3131
xmlto=0.0.29-r0 \
3232
yq-go=4.46.1-r1 \
33-
&& apk cache clean \
33+
&& apk cache --no-cache clean \
3434
&& rm -rf /var/cache/apk/*
3535

3636
RUN pipx ensurepath --global \

0 commit comments

Comments
 (0)