aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_node
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-02-20 17:09:59 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-02-20 17:09:59 -0800
commit213ecbfcfac56498fb9d1ac30885e88677dc3318 (patch)
tree8ccbda41dc911cce811eccd9d37c0dc169809d11 /tools/dockerfile/grpc_node
parent04608c41345bf9b75f0153ff3ee5cd1b0e106ffc (diff)
Fixes in Dockerfiles for Node, PHP, Ruby, speed boost for Python
Diffstat (limited to 'tools/dockerfile/grpc_node')
-rw-r--r--tools/dockerfile/grpc_node/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/dockerfile/grpc_node/Dockerfile b/tools/dockerfile/grpc_node/Dockerfile
index 59aa8cfd1c..08d060a8de 100644
--- a/tools/dockerfile/grpc_node/Dockerfile
+++ b/tools/dockerfile/grpc_node/Dockerfile
@@ -1,13 +1,16 @@
# Dockerfile for gRPC Node
FROM grpc/node_base
-# Update the C libary
+# Pull the latest sources
RUN cd /var/local/git/grpc \
&& git pull --recurse-submodules \
&& git submodule update --init --recursive
+# Prevent breaking the build if header files are added/removed.
+RUN make clean -C /var/local/git/grpc
+
# Install the C core.
-RUN make install_c -C /var/local/git/grpc
+RUN make install_c -j12 -C /var/local/git/grpc
RUN cd /var/local/git/grpc/src/node && npm install && node-gyp rebuild