Skip to content

Commit 5d13f14

Browse files
committed
ci(trivy): disable apk caching
1 parent a58d961 commit 5d13f14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tor/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ SHELL ["/bin/ash", "-euo", "pipefail", "-c"]
55
HEALTHCHECK CMD ["/usr/bin/curl", "-fsSL", "--socks5", "localhost:9050", "--socks5-hostname", "localhost:9050", "https://check.torproject.org/api/ip"]
66

77
# hadolint ignore=DL3019
8-
RUN apk -U upgrade \
9-
&& apk add \
8+
RUN apk upgrade --no-cache \
9+
&& apk add --no-cache \
1010
bash=5.2.37-r0 \
1111
curl=8.14.1-r1 \
1212
gettext=0.24.1-r0 \
1313
git=2.49.1-r0 \
1414
tor=0.4.8.17-r0 \
15-
&& apk cache clean \
15+
&& apk cache --no-cache clean \
1616
&& rm -rf /var/cache/apk/*
1717

1818
RUN chmod ugo+rwx /etc/tor

0 commit comments

Comments
 (0)