aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-02-06 08:51:10 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-02-06 13:22:02 -0800
commit23dadd920449634ae5a04ac7c1bb4b78d735ff96 (patch)
tree1a5ef78894027b7929238ffb137bb501a9813ed0
parent0bd1da55936bae4bdd82ef40526b5de6105c8624 (diff)
Try to make npm available on jessie x86
-rw-r--r--tools/dockerfile/distribtest/node_jessie_x86/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/dockerfile/distribtest/node_jessie_x86/Dockerfile b/tools/dockerfile/distribtest/node_jessie_x86/Dockerfile
index 0408cbeeb0..ca92b1923a 100644
--- a/tools/dockerfile/distribtest/node_jessie_x86/Dockerfile
+++ b/tools/dockerfile/distribtest/node_jessie_x86/Dockerfile
@@ -33,4 +33,8 @@ RUN apt-get update && apt-get install -y curl
# Install nvm
RUN touch .profile
-RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash \ No newline at end of file
+RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
+
+# Install node 4, as on 32bit system, npm will be missing after nvm install
+RUN curl -sL https://deb.nodesource.com/setup_4.x | bash -
+RUN apt-get update && apt-get install -y nodejs