aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Michael Lumish <mlumish@google.com>2017-07-05 10:26:56 -0700
committerGravatar GitHub <noreply@github.com>2017-07-05 10:26:56 -0700
commite9089624fea55daca189787304a022086af3b55e (patch)
treeeea1815b70b3294285e51e4655373e5cfa866220 /templates
parentbe7f2a41ab2718b59e82e28913941aeec2f0bed2 (diff)
parenta6ce1ff1d6b451b0e747293a6d39bea4262492a8 (diff)
Merge pull request #11627 from murgatroid99/node_consistent_runtime_version
Make various scripts use the same version of Node
Diffstat (limited to 'templates')
-rw-r--r--templates/tools/dockerfile/node_deps.include9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/tools/dockerfile/node_deps.include b/templates/tools/dockerfile/node_deps.include
index 7855fbfee3..2f7d0d3abb 100644
--- a/templates/tools/dockerfile/node_deps.include
+++ b/templates/tools/dockerfile/node_deps.include
@@ -5,7 +5,8 @@
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 0.12 && npm config set cache /tmp/npm-cache"
-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 alias default 4" \ No newline at end of file
+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" \ No newline at end of file