aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_ruby
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_ruby
parent04608c41345bf9b75f0153ff3ee5cd1b0e106ffc (diff)
Fixes in Dockerfiles for Node, PHP, Ruby, speed boost for Python
Diffstat (limited to 'tools/dockerfile/grpc_ruby')
-rw-r--r--tools/dockerfile/grpc_ruby/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/dockerfile/grpc_ruby/Dockerfile b/tools/dockerfile/grpc_ruby/Dockerfile
index ff1b99ba37..fda55719d9 100644
--- a/tools/dockerfile/grpc_ruby/Dockerfile
+++ b/tools/dockerfile/grpc_ruby/Dockerfile
@@ -1,13 +1,16 @@
# Dockerfile for gRPC Ruby
FROM grpc/ruby_base
-# Build 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
+
# Build the C core
-RUN make install_c -C /var/local/git/grpc
+RUN make install_c -j12 -C /var/local/git/grpc
# Build ruby gRPC and run its tests
RUN /bin/bash -l -c 'cd /var/local/git/grpc/src/ruby && bundle && rake'