Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: upgrade Docker images to Node.js 18 (#20361)

Max Schmittc6bc3ce23fee
diff --git a/utils/docker/Dockerfile.focal b/utils/docker/Dockerfile.focal
index f6db13a34a..3ae3e3920c 100644
--- a/utils/docker/Dockerfile.focal
+++ b/utils/docker/Dockerfile.focal
@@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright:v%version%-focal"
RUN apt-get update && \
# Install node16
apt-get install -y curl wget gpg && \
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
+ curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
# Feature-parity with node.js base images.
apt-get install -y --no-install-recommends git openssh-client && \
diff --git a/utils/docker/Dockerfile.jammy b/utils/docker/Dockerfile.jammy
index 63868afbdd..29a6191af3 100644
--- a/utils/docker/Dockerfile.jammy
+++ b/utils/docker/Dockerfile.jammy
@@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright:v%version%-jammy"
RUN apt-get update && \
# Install node16
apt-get install -y curl wget gpg && \
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
+ curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
# Feature-parity with node.js base images.
apt-get install -y --no-install-recommends git openssh-client && \
diff --git a/utils/docker/Dockerfile.vrt b/utils/docker/Dockerfile.vrt
index 2bc5959bfd..aef4504639 100644
--- a/utils/docker/Dockerfile.vrt
+++ b/utils/docker/Dockerfile.vrt
@@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright:v%version%-vrt"
RUN apt-get update && \
# Install node16
apt-get install -y curl wget gpg && \
- curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
+ curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs && \
# Feature-parity with node.js base images.
apt-get install -y --no-install-recommends git openssh-client && \