devops: upgrade Docker images to Node.js 18 (#20361)
Fixes https://github.com/microsoft/playwright/issues/20133
This commit is contained in:
parent
754dd05a8e
commit
c6bc3ce23f
|
|
@ -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 && \
|
||||||
|
|
|
||||||
|
|
@ -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 && \
|
||||||
|
|
|
||||||
|
|
@ -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 && \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue