aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile
diff options
context:
space:
mode:
authorGravatar murgatroid99 <michael.lumish@gmail.com>2015-02-02 14:34:57 -0800
committerGravatar murgatroid99 <michael.lumish@gmail.com>2015-02-02 14:34:57 -0800
commitba116528cc95dfb0fdd065b091b346585fc68a1c (patch)
tree64011d7921c8a79dc11122fd4ee4a5f4be3af764 /tools/dockerfile
parent3e598cdcfe1a70c95eacbe3bb9dc44fcab518157 (diff)
Set leaf dockerfiles to clean C library before rebuilding
Diffstat (limited to 'tools/dockerfile')
-rw-r--r--tools/dockerfile/grpc_node/Dockerfile1
-rw-r--r--tools/dockerfile/grpc_php/Dockerfile1
-rw-r--r--tools/dockerfile/grpc_ruby/Dockerfile1
3 files changed, 3 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_node/Dockerfile b/tools/dockerfile/grpc_node/Dockerfile
index baec0e21d8..61d726338c 100644
--- a/tools/dockerfile/grpc_node/Dockerfile
+++ b/tools/dockerfile/grpc_node/Dockerfile
@@ -7,6 +7,7 @@ RUN cd /var/local/git/grpc \
&& git submodule update --init --recursive
# Install the C core.
+RUN make clean -C /var/local/git/grpc
RUN make install_c -C /var/local/git/grpc
RUN cd /var/local/git/grpc/src/node && npm install && node-gyp rebuild
diff --git a/tools/dockerfile/grpc_php/Dockerfile b/tools/dockerfile/grpc_php/Dockerfile
index 177587669c..00285ee840 100644
--- a/tools/dockerfile/grpc_php/Dockerfile
+++ b/tools/dockerfile/grpc_php/Dockerfile
@@ -5,6 +5,7 @@ RUN cd /var/local/git/grpc \
&& git pull --recurse-submodules \
&& git submodule update --init --recursive
+RUN make clean -C /var/local/git/grpc
RUN make install_c -j12 -C /var/local/git/grpc
RUN cd /var/local/git/grpc/src/php/ext/grpc && git pull && phpize
diff --git a/tools/dockerfile/grpc_ruby/Dockerfile b/tools/dockerfile/grpc_ruby/Dockerfile
index c84548c880..3213b288db 100644
--- a/tools/dockerfile/grpc_ruby/Dockerfile
+++ b/tools/dockerfile/grpc_ruby/Dockerfile
@@ -10,6 +10,7 @@ RUN cd /var/local/git/grpc \
RUN touch /var/local/git/grpc/include/grpc/support/string.h
# Build the C core.
+RUN make clean -C /var/local/git/grpc
RUN make install_c -C /var/local/git/grpc
# Build ruby gRPC and run its tests