aboutsummaryrefslogtreecommitdiff
path: root/tools/dockerfile/test/sanity
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@google.com>2017-11-06 12:00:30 +0100
committerJan Tattermusch <jtattermusch@google.com>2017-11-06 14:31:24 +0100
commit53d89d7f2589e9c1e3e5f666e3d355ab4ac0fa52 (patch)
tree2700243866b30cdd23c5e39a62fe1d3664ab46e3 /tools/dockerfile/test/sanity
parent44ab6a559c78253d97e05e99049862c66440031f (diff)
downloadgrpc-grpc-53d89d7f2589e9c1e3e5f666e3d355ab4ac0fa52.tar.gz
fix clang format installation
Diffstat (limited to 'tools/dockerfile/test/sanity')
-rw-r--r--tools/dockerfile/test/sanity/Dockerfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/dockerfile/test/sanity/Dockerfile b/tools/dockerfile/test/sanity/Dockerfile
index 0e765cb2ea..da663d5686 100644
--- a/tools/dockerfile/test/sanity/Dockerfile
+++ b/tools/dockerfile/test/sanity/Dockerfile
@@ -103,10 +103,9 @@ RUN ./bazel-0.4.4-installer-linux-x86_64.sh
RUN apt-get update && apt-get -y install wget xz-utils
RUN wget http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz
RUN tar xf clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz
-ENV PATH=clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/bin:$PATH
+RUN ln -s /clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/bin/clang-format /usr/local/bin/clang-format
ENV CLANG_FORMAT=clang-format
-
# Prepare ccache
RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
RUN ln -s /usr/bin/ccache /usr/local/bin/g++