From 1c75e17eca31f40f87a55cf51f83c0965b414fa8 Mon Sep 17 00:00:00 2001 From: Nikola Sepentulevski Date: Wed, 20 Sep 2023 10:10:34 +1000 Subject: [PATCH] Updating to the latest minor version of node 18. This includes an update to npm version 9.8.1. Compatibility between node and npm sourced from https://nodejs.org/en/download/releases --- docker/node/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/node/Dockerfile b/docker/node/Dockerfile index 5fbe8f8b15f..4c37876618d 100644 --- a/docker/node/Dockerfile +++ b/docker/node/Dockerfile @@ -1,11 +1,11 @@ ARG IMAGE_VERSION=base FROM electronuserland/builder:$IMAGE_VERSION -ARG NODE_VERSION 18.15.0 +ARG NODE_VERSION 18.18.0 # this package is used for snapcraft and we should not clear apt list - to avoid apt-get update during snap build RUN curl -L https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz | tar xz -C /usr/local --strip-components=1 && \ unlink /usr/local/CHANGELOG.md && unlink /usr/local/LICENSE && unlink /usr/local/README.md && \ # https://github.com/npm/npm/issues/4531 echo "unsafe-perm true" > .npmrc -RUN npm i -g pnpm@8.6.10 +RUN npm i -g pnpm@9.8.1s