Files
eleith e7870b0cf7
ci/woodpecker/push/build-playwright Pipeline was successful
ci/woodpecker/tag/build-playwright Pipeline was successful
add playwright with node 26 and support for Temporal
2026-07-25 17:00:34 -07:00

22 lines
867 B
Docker

FROM mcr.microsoft.com/playwright:v1.61.1-noble
ARG NODE_VERSION=26
ARG PNPM_VERSION=11.9.0
# The base image ships Node 24 from nodesource; this replaces that same package.
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
ca-certificates \
curl \
gnupg \
&& curl -fsSL "https://deb.nodesource.com/setup_${NODE_VERSION}.x" | bash - \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends nodejs \
&& rm -f /usr/bin/yarn /usr/bin/yarnpkg /usr/bin/pnpm /usr/bin/pnpx /usr/bin/corepack \
&& npm install --global corepack@latest \
&& corepack enable \
&& corepack prepare "pnpm@${PNPM_VERSION}" --activate \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove gnupg \
&& rm -rf /var/lib/apt/lists/*
RUN node --version && pnpm --version