aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_artifact_linux_x86
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-02-01 11:19:07 -0800
committerGravatar murgatroid99 <mlumish@google.com>2016-02-03 09:36:39 -0800
commit673f65be1430c609a29a9310d71929f79184d97e (patch)
tree19c0bb6536b7318ad790177b55b38d78a3274bd6 /tools/dockerfile/grpc_artifact_linux_x86
parented00b0366d9022bdfe47bbf4c0b4bff1bf03d195 (diff)
Add working Node artifact builder for all platforms
Diffstat (limited to 'tools/dockerfile/grpc_artifact_linux_x86')
-rw-r--r--tools/dockerfile/grpc_artifact_linux_x86/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_artifact_linux_x86/Dockerfile b/tools/dockerfile/grpc_artifact_linux_x86/Dockerfile
index 774b4523a1..0722efbdc4 100644
--- a/tools/dockerfile/grpc_artifact_linux_x86/Dockerfile
+++ b/tools/dockerfile/grpc_artifact_linux_x86/Dockerfile
@@ -58,6 +58,11 @@ RUN apt-get update && apt-get install -y \
wget \
zip && apt-get clean
+# Install Node dependencies
+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 4 && npm install -g node-pre-gyp"
+
RUN mkdir /var/local/jenkins
# Define the default command.