From c6bc3ce23fee1eab77174c932a585eb27d4766da Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 26 Jan 2023 16:34:32 +0100 Subject: [PATCH] devops: upgrade Docker images to Node.js 18 (#20361) Fixes https://github.com/microsoft/playwright/issues/20133 --- utils/docker/Dockerfile.focal | 2 +- utils/docker/Dockerfile.jammy | 2 +- utils/docker/Dockerfile.vrt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 && \