Skip to content

Commit

Permalink
Updating to the latest minor version of node 18. This includes an upd…
Browse files Browse the repository at this point in the history
…ate to npm version 9.8.1. Compatibility between node and npm sourced from https://nodejs.org/en/download/releases
  • Loading branch information
nikskiz committed Sep 20, 2023
1 parent 562870e commit 1c75e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1c75e17

Please sign in to comment.