aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/interoptest/grpc_interop_cxx
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2018-05-19 06:25:35 -0700
committerGravatar GitHub <noreply@github.com>2018-05-19 06:25:35 -0700
commit2e679e664d970360481bf9ff80e06df4160138c7 (patch)
treefca26b228dcbe6a8571a1de616f6752ca59dd909 /tools/dockerfile/interoptest/grpc_interop_cxx
parent2266fd4f51735e39b5298c1b6cb688206edd2726 (diff)
Revert "Remove ccache from all docker images"
Diffstat (limited to 'tools/dockerfile/interoptest/grpc_interop_cxx')
-rw-r--r--tools/dockerfile/interoptest/grpc_interop_cxx/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/dockerfile/interoptest/grpc_interop_cxx/Dockerfile b/tools/dockerfile/interoptest/grpc_interop_cxx/Dockerfile
index 9ede89b78d..d3eb456e94 100644
--- a/tools/dockerfile/interoptest/grpc_interop_cxx/Dockerfile
+++ b/tools/dockerfile/interoptest/grpc_interop_cxx/Dockerfile
@@ -68,6 +68,14 @@ RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.5.2.post1 six==1.10.0 t
# C++ dependencies
RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang && apt-get clean
+# Prepare ccache
+RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
+RUN ln -s /usr/bin/ccache /usr/local/bin/g++
+RUN ln -s /usr/bin/ccache /usr/local/bin/cc
+RUN ln -s /usr/bin/ccache /usr/local/bin/c++
+RUN ln -s /usr/bin/ccache /usr/local/bin/clang
+RUN ln -s /usr/bin/ccache /usr/local/bin/clang++
+
RUN mkdir /var/local/jenkins