fix: Remove apk tools from runner image (#22925)

This commit is contained in:
Declan Carroll 2025-12-08 14:35:31 +00:00 committed by GitHub
parent c69a517579
commit 902e1a8706
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,7 +120,8 @@ COPY --from=node-alpine /usr/local/bin/node /usr/local/bin/node
# libstdc++ is required by Node
# libc6-compat is required by task-runner-launcher
RUN apk add --no-cache ca-certificates tini libstdc++ libc6-compat
RUN apk add --no-cache ca-certificates tini libstdc++ libc6-compat && \
apk del apk-tools
# Bring corepack and pnpm over, to make the image easier to extend
COPY --from=node-alpine /usr/local/lib/node_modules /usr/local/lib/node_modules