ci: Update base image packages (#17185)

This commit is contained in:
shortstacked
2025-07-10 13:31:29 +01:00
committed by GitHub
parent 5c723e1bdd
commit 36b410abdb

View File

@@ -13,8 +13,20 @@ RUN \
apk del .build-deps-fonts && \
find /usr/share/fonts/truetype/msttcorefonts/ -type l -exec unlink {} \;
# Install essential OS dependencies
RUN apk add --no-cache git openssh graphicsmagick tini tzdata ca-certificates libc6-compat jq
# Install essential OS dependencies with pinned versions
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \
apk update && \
apk upgrade && \
apk add --no-cache \
git=2.50.1-r0 \
openssh=10.0_p1-r7 \
openssl=3.5.1-r0 \
graphicsmagick=1.3.45-r0 \
tini=0.19.0-r3 \
tzdata=2025b-r0 \
ca-certificates=20241121-r2 \
libc6-compat=1.1.0-r4 \
jq=1.8.0-r0
# Update npm, install full-icu and npm@11.4.2 to fix brace-expansion vulnerability
# Remove npm update after vulnerability is fixed in in node image