Update CI

This commit is contained in:
Darren Clarke 2025-11-10 16:09:35 +01:00
parent 90aad93554
commit 00d1fe5eef
2 changed files with 23 additions and 7 deletions

View file

@ -1,3 +1,4 @@
FROM node:22-alpine AS node
FROM docker:git
RUN set -ex; \
@ -5,7 +6,22 @@ RUN set -ex; \
make \
curl \
bash \
jq ;
jq \
libstdc++ ;
# Copy Node.js 22 from official image
COPY --from=node /usr/lib /usr/lib
COPY --from=node /usr/local/lib /usr/local/lib
COPY --from=node /usr/local/include /usr/local/include
COPY --from=node /usr/local/bin /usr/local/bin
# Prepare pnpm (corepack is already enabled in node:22-alpine)
RUN corepack prepare pnpm@9.15.4 --activate
# Set up pnpm home
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
COPY --from=docker/buildx-bin /buildx /usr/libexec/docker/cli-plugins/docker-buildx
RUN docker buildx install
RUN docker buildx version