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

Fixes https://github.com/microsoft/playwright/issues/20133
This commit is contained in:
Max Schmitt 2023-01-26 16:34:32 +01:00 committed by GitHub
parent 754dd05a8e
commit c6bc3ce23f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright:v%version%-focal"
RUN apt-get update && \ RUN apt-get update && \
# Install node16 # Install node16
apt-get install -y curl wget gpg && \ 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 && \ apt-get install -y nodejs && \
# Feature-parity with node.js base images. # Feature-parity with node.js base images.
apt-get install -y --no-install-recommends git openssh-client && \ apt-get install -y --no-install-recommends git openssh-client && \

View file

@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright:v%version%-jammy"
RUN apt-get update && \ RUN apt-get update && \
# Install node16 # Install node16
apt-get install -y curl wget gpg && \ 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 && \ apt-get install -y nodejs && \
# Feature-parity with node.js base images. # Feature-parity with node.js base images.
apt-get install -y --no-install-recommends git openssh-client && \ apt-get install -y --no-install-recommends git openssh-client && \

View file

@ -9,7 +9,7 @@ ARG DOCKER_IMAGE_NAME_TEMPLATE="mcr.microsoft.com/playwright:v%version%-vrt"
RUN apt-get update && \ RUN apt-get update && \
# Install node16 # Install node16
apt-get install -y curl wget gpg && \ 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 && \ apt-get install -y nodejs && \
# Feature-parity with node.js base images. # Feature-parity with node.js base images.
apt-get install -y --no-install-recommends git openssh-client && \ apt-get install -y --no-install-recommends git openssh-client && \