aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile
diff options
context:
space:
mode:
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