diff options
author | 2017-06-27 18:15:38 -0700 | |
---|---|---|
committer | 2017-06-27 18:15:38 -0700 | |
commit | a6ce1ff1d6b451b0e747293a6d39bea4262492a8 (patch) | |
tree | 7600aa7e0ae98961147159ebc15c26a79569f4a5 /tools/dockerfile/test/multilang_jessie_x64 | |
parent | 7ad758cd846bb6f15d3e655ce148ccc099a041e4 (diff) |
Fix how npm is upgraded, add npm update line for electron
Diffstat (limited to 'tools/dockerfile/test/multilang_jessie_x64')
-rw-r--r-- | tools/dockerfile/test/multilang_jessie_x64/Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/dockerfile/test/multilang_jessie_x64/Dockerfile b/tools/dockerfile/test/multilang_jessie_x64/Dockerfile index 07fc906aac..b7373b5d9c 100644 --- a/tools/dockerfile/test/multilang_jessie_x64/Dockerfile +++ b/tools/dockerfile/test/multilang_jessie_x64/Dockerfile @@ -81,10 +81,10 @@ RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev c RUN touch .profile RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash # Install all versions of node that we want to test -RUN /bin/bash -l -c "nvm install 4 && npm config set cache /tmp/npm-cache" -RUN /bin/bash -l -c "nvm install 5 && npm config set cache /tmp/npm-cache" -RUN /bin/bash -l -c "nvm install 6 && npm config set cache /tmp/npm-cache" -RUN /bin/bash -l -c "nvm install 8 && npm config set cache /tmp/npm-cache" +RUN /bin/bash -l -c "nvm install 4 && npm config set cache /tmp/npm-cache && npm install -g npm" +RUN /bin/bash -l -c "nvm install 5 && npm config set cache /tmp/npm-cache && npm install -g npm" +RUN /bin/bash -l -c "nvm install 6 && npm config set cache /tmp/npm-cache && npm install -g npm" +RUN /bin/bash -l -c "nvm install 8 && npm config set cache /tmp/npm-cache && npm install -g npm" RUN /bin/bash -l -c "nvm alias default 8" #================= # PHP dependencies |