Skip to content

Commit 212eb51

Browse files
committed
ci(trivy): disable apk caching
1 parent 6a21d53 commit 212eb51

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pdf/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
curl=8.14.1-r1 \
1919
ghostscript=10.05.1-r0 \
@@ -26,7 +26,7 @@ RUN apk -U upgrade \
2626
py3-pip=25.1.1-r0 \
2727
python3=3.12.11-r0 \
2828
qpdf=12.2.0-r0 \
29-
&& apk cache clean \
29+
&& apk cache --no-cache clean \
3030
&& rm -rf /var/cache/apk/*
3131

3232
RUN VERSION=$(curl -s -S -f https://gitlab.com/api/v4/projects/5024297/releases | jq -r '.[0].tag_name') \

0 commit comments

Comments
 (0)