From fb05d029b7ae3a0c8a037c30a7ed1358148ebf20 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Fri, 16 Dec 2022 09:32:04 -0500 Subject: [PATCH] Upgrade Node.js to v16 Node.js v16 should run without emulation on the build platform, which results in faster build times. This was the main reason to avoid upgrading in a multi-platform setting. Node.js v16 should also come with performance improvements during run time. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb560ea9..021ce6cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Install a specific Node.js version # https://github.com/nodesource/distributions/blob/0d81da75/README.md#installation-instructions -RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \ +RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \ && apt-get update && apt-get install -y nodejs # Used for platform-specific instructions @@ -390,7 +390,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Install a specific Node.js version # https://github.com/nodesource/distributions/blob/0d81da75/README.md#installation-instructions -RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \ +RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \ && apt-get update && apt-get install -y nodejs # Used for platform-specific instructions