Skip to content

Commit 2961a6c

Browse files
committed
ci(trivy): disable apk caching
1 parent 4b15162 commit 2961a6c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pgp-verify-jar/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ ARG USER_GECOS=Default
1010
SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
1111

1212
# hadolint ignore=DL3019
13-
RUN apk -U upgrade \
14-
&& apk add \
13+
RUN apk upgrade --no-cache \
14+
&& apk add --no-cache \
1515
bash=5.2.37-r0 \
1616
curl=8.14.1-r1 \
1717
git=2.49.1-r0 \
1818
gnupg=2.4.7-r0 \
19-
&& apk cache clean \
19+
&& apk cache --no-cache clean \
2020
&& rm -rf /var/cache/apk/*
2121

2222
# create gpg directory to prevent keyboxd to automagically start, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150

0 commit comments

Comments
 (0)