From b7320b91d7c40ff6c92b5757244b3d5a017bdf0c Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Wed, 22 May 2019 14:23:50 -0400 Subject: [PATCH] Pin node version to v10.15.3 --- scripts/release/Dockerfile | 2 +- scripts/vagrant-linux-unpriv-ui.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/release/Dockerfile b/scripts/release/Dockerfile index eccf8d4af..dd5b001e6 100644 --- a/scripts/release/Dockerfile +++ b/scripts/release/Dockerfile @@ -35,7 +35,7 @@ RUN /tmp/scripts/vagrant-linux-unpriv-ui.sh COPY ./scripts/release/docker-build-all /tmp/scripts/docker-build-all # Update PATH with GO bin, yarn, and node -ENV NODE_VERSION=v10.0.0 +ENV NODE_VERSION=v10.15.3 ENV GOPATH="/opt/gopath" \ PATH="/home/vagrant/.nvm/versions/node/${NODE_VERSION}/bin:/home/vagrant/bin:/opt/gopath/bin:/home/vagrant/.yarn/bin:/home/vagrant/.config/yarn/global/node_modules/.bin:$PATH" diff --git a/scripts/vagrant-linux-unpriv-ui.sh b/scripts/vagrant-linux-unpriv-ui.sh index 03a9f19f5..e59692d39 100755 --- a/scripts/vagrant-linux-unpriv-ui.sh +++ b/scripts/vagrant-linux-unpriv-ui.sh @@ -9,8 +9,8 @@ export NVM_DIR="/home/vagrant/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm # Install Node, Ember CLI, and Phantom for UI development -nvm install 10 -nvm alias default 10 +nvm install 10.15.3 +nvm alias default 10.15.3 npm install -g ember-cli # Install Yarn for front-end dependency management