aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-05-03 13:16:32 -0700
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-05-03 13:16:32 -0700
commit5a779537f1569d369980d20ebf6277f0bc2271ba (patch)
tree061b4b6cf2ba12c7977d07c83125100125274749 /templates/tools
parentd00ed3088bc6b68024d6fc13ae7f454d13ef246e (diff)
parent957fe8dc5de97d9b59de91522c8afab294abe9f4 (diff)
Merge pull request #6376 from murgatroid99/node_test_multiple_versions
Made Node tests support multiple versions and set the Node default version to 4 everywhere possible
Diffstat (limited to 'templates/tools')
-rw-r--r--templates/tools/dockerfile/node_deps.include4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/node_deps.include b/templates/tools/dockerfile/node_deps.include
index 7d37d67146..7855fbfee3 100644
--- a/templates/tools/dockerfile/node_deps.include
+++ b/templates/tools/dockerfile/node_deps.include
@@ -4,4 +4,8 @@
# Install nvm
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