mirror of https://git.tuxpa.in/a/code-server.git
Update node to latest lts (12.16.3) and update deps
This commit is contained in:
parent
86dc38e69f
commit
f3edb1cc5f
|
@ -13,7 +13,7 @@ RUN yum update -y && yum install -y \
|
|||
libx11-devel
|
||||
|
||||
RUN mkdir /usr/share/node && cd /usr/share/node \
|
||||
&& curl "https://nodejs.org/dist/v12.14.0/node-v12.14.0-linux-$(uname -m | sed 's/86_//; s/aarch/arm/').tar.xz" | tar xJ --strip-components=1 --
|
||||
&& curl "https://nodejs.org/dist/v12.16.3/node-v12.16.3-linux-$(uname -m | sed 's/86_//; s/aarch/arm/').tar.xz" | tar xJ --strip-components=1 --
|
||||
ENV PATH "$PATH:/usr/share/node/bin"
|
||||
RUN npm install -g yarn@1.22.4
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ index e73dd4d9e8..e3192b3a0d 100644
|
|||
build/node_modules
|
||||
coverage/
|
||||
diff --git a/.yarnrc b/.yarnrc
|
||||
index 7808166004..c877697068 100644
|
||||
index 7808166004..a7300dbfb9 100644
|
||||
--- a/.yarnrc
|
||||
+++ b/.yarnrc
|
||||
@@ -1,3 +1,3 @@
|
||||
|
@ -19,7 +19,7 @@ index 7808166004..c877697068 100644
|
|||
-target "7.1.11"
|
||||
-runtime "electron"
|
||||
+disturl "http://nodejs.org/dist"
|
||||
+target "12.14.0"
|
||||
+target "12.16.3"
|
||||
+runtime "node"
|
||||
diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js
|
||||
index 7a2320d828..5768890636 100644
|
||||
|
|
Loading…
Reference in New Issue