From 573bddda034d02e3cca6fc6f39af677ecfef8306 Mon Sep 17 00:00:00 2001 From: Yeikel Date: Wed, 25 Oct 2023 12:48:59 -0400 Subject: [PATCH] build(deps): bump node to v20 --- npm_and_yarn/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npm_and_yarn/Dockerfile b/npm_and_yarn/Dockerfile index 6d4dc70b9a..8aa71ba49d 100644 --- a/npm_and_yarn/Dockerfile +++ b/npm_and_yarn/Dockerfile @@ -10,7 +10,7 @@ ARG PNPM_VERSION=8.15.2 ARG YARN_VERSION=3.7.0 # See https://github.com/nodesource/distributions#installation-instructions -ARG NODEJS_VERSION=18.x +ARG NODEJS_VERSION=20 # Check for updates at https://github.com/npm/cli/releases # This version should be compatible with the Node.js version declared above. See https://nodejs.org/en/download/releases as well @@ -20,7 +20,7 @@ ARG NPM_VERSION=9.6.5 # Install Node and npm RUN mkdir -p /etc/apt/keyrings \ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \ - && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODEJS_VERSION nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ + && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODEJS_VERSION}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ && apt-get update \ && apt-get install -y --no-install-recommends \ nodejs \