aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/node_deps.include
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tools/dockerfile/node_deps.include')
-rw-r--r--templates/tools/dockerfile/node_deps.include7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/node_deps.include b/templates/tools/dockerfile/node_deps.include
new file mode 100644
index 0000000000..7d37d67146
--- /dev/null
+++ b/templates/tools/dockerfile/node_deps.include
@@ -0,0 +1,7 @@
+#==================
+# Node dependencies
+
+# Install nvm
+RUN touch .profile
+RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
+RUN /bin/bash -l -c "nvm install 0.12 && npm config set cache /tmp/npm-cache"