devops(docker): upgrade to node 16 (#6498)

This commit is contained in:
Manu Chambon 2021-05-12 18:23:38 +02:00 committed by GitHub
parent bcccafea13
commit 2697f8380f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -113,6 +113,7 @@ jobs:
node_version:
- "^12.0.0"
- "^14.1.0" # pre 14.1, zip extraction was broken (https://github.com/microsoft/playwright/issues/1988)
- "^16.0.0"
timeout-minutes: 20
steps:
- uses: actions/checkout@v2

View file

@ -2,9 +2,9 @@ FROM ubuntu:bionic
# === INSTALL Node.js ===
# Install node14
# Install node16
RUN apt-get update && apt-get install -y curl && \
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs
# Feature-parity with node.js base images.
@ -40,4 +40,3 @@ RUN mkdir /ms-playwright && \
DEBIAN_FRONTEND=noninteractive npx playwright install-deps && \
rm -rf /tmp/pw && rm /tmp/playwright.tar.gz && \
chmod -R 777 /ms-playwright

View file

@ -2,9 +2,9 @@ FROM ubuntu:focal
# === INSTALL Node.js ===
# Install node14
# Install node16
RUN apt-get update && apt-get install -y curl && \
curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs
# Feature-parity with node.js base images.
@ -39,4 +39,3 @@ RUN mkdir /ms-playwright && \
DEBIAN_FRONTEND=noninteractive npx playwright install-deps && \
rm -rf /tmp/pw && rm /tmp/playwright.tar.gz && \
chmod -R 777 /ms-playwright