ci: bake git into the prebuilt test image (#819)
All checks were successful
ci/woodpecker/push/ci-image Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful

This commit was merged in pull request #819.
This commit is contained in:
2026-07-17 18:11:16 +00:00
parent 9ddc6fbda8
commit cabf02e7b9

View File

@@ -23,9 +23,9 @@ FROM node:24-alpine
# Native toolchain required to compile node-gyp deps on musl, plus the # Native toolchain required to compile node-gyp deps on musl, plus the
# postgresql-client used by the test step's pg_isready readiness probe. `bash` # postgresql-client used by the test step's pg_isready readiness probe. `bash`
# is baked here too — the sanitization step in ci.yml otherwise does a per-run # and `git` are baked here too — framework shell tests require both without
# `apk add bash`. # paying for per-run package installation in ci.yml.
RUN apk add --no-cache python3 make g++ postgresql-client bash RUN apk add --no-cache python3 make g++ postgresql-client bash git
# Pin pnpm to the repo's packageManager version via corepack. # Pin pnpm to the repo's packageManager version via corepack.
RUN corepack enable && corepack prepare pnpm@10.6.2 --activate RUN corepack enable && corepack prepare pnpm@10.6.2 --activate