-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(docker): update Dockerfile -- Set
latest
from Node version v1…
…4 --> v18 (#7610)
- Loading branch information
Showing
3 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
|
||
--- | ||
|
||
chore(docker): update Dockerfile -- Update `latest` tag from Node version v14 --> v18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
FROM electronuserland/builder:base | ||
|
||
ARG NODE_VERSION 14.19.3 | ||
ARG NODE_VERSION 18.16.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 | ||
npm config set unsafe-perm true | ||
echo "unsafe-perm true" > .npmrc | ||
RUN npm i -g [email protected] |