aboutsummaryrefslogtreecommitdiff
path: root/tools/dockerfile/test/sanity
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@users.noreply.github.com>2018-05-19 06:25:35 -0700
committerGitHub <noreply@github.com>2018-05-19 06:25:35 -0700
commit2e679e664d970360481bf9ff80e06df4160138c7 (patch)
treefca26b228dcbe6a8571a1de616f6752ca59dd909 /tools/dockerfile/test/sanity
parent2266fd4f51735e39b5298c1b6cb688206edd2726 (diff)
downloadgrpc-grpc-2e679e664d970360481bf9ff80e06df4160138c7.tar.gz
Revert "Remove ccache from all docker images"
Diffstat (limited to 'tools/dockerfile/test/sanity')
-rw-r--r--tools/dockerfile/test/sanity/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/dockerfile/test/sanity/Dockerfile b/tools/dockerfile/test/sanity/Dockerfile
index 5788f1f04b..4885843aa4 100644
--- a/tools/dockerfile/test/sanity/Dockerfile
+++ b/tools/dockerfile/test/sanity/Dockerfile
@@ -113,6 +113,14 @@ ENV CLANG_FORMAT=clang-format
RUN ln -s /clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/bin/clang-tidy /usr/local/bin/clang-tidy
ENV CLANG_TIDY=clang-tidy
+# 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