From 2697f8380f46e6e7a5cd0d5dae06c3db9989d815 Mon Sep 17 00:00:00 2001 From: Manu Chambon Date: Wed, 12 May 2021 18:23:38 +0200 Subject: [PATCH] devops(docker): upgrade to node 16 (#6498) --- .github/workflows/tests_secondary.yml | 1 + utils/docker/Dockerfile.bionic | 5 ++--- utils/docker/Dockerfile.focal | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests_secondary.yml b/.github/workflows/tests_secondary.yml index e48cc5b3d4..870cddfe1b 100644 --- a/.github/workflows/tests_secondary.yml +++ b/.github/workflows/tests_secondary.yml @@ -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 diff --git a/utils/docker/Dockerfile.bionic b/utils/docker/Dockerfile.bionic index 45ba7d961d..44433665f4 100644 --- a/utils/docker/Dockerfile.bionic +++ b/utils/docker/Dockerfile.bionic @@ -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 - diff --git a/utils/docker/Dockerfile.focal b/utils/docker/Dockerfile.focal index e28375a227..c55d079e43 100644 --- a/utils/docker/Dockerfile.focal +++ b/utils/docker/Dockerfile.focal @@ -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 -