aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/test
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@google.com>2018-01-16 18:13:26 -0800
committerGravatar Noah Eisen <ncteisen@google.com>2018-01-16 18:13:26 -0800
commit86ddb5393d452fc30ba3941a286c79c253909abc (patch)
treef47c0f3d28cdfeba0351856b5d5889dbe16129ae /tools/dockerfile/test
parente737ae9e32823e924c452e98798f3d044e4dd394 (diff)
Ensure all sanity finds clang-tidy
Diffstat (limited to 'tools/dockerfile/test')
-rw-r--r--tools/dockerfile/test/sanity/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/dockerfile/test/sanity/Dockerfile b/tools/dockerfile/test/sanity/Dockerfile
index a243cbb8e5..7a8e1c09b1 100644
--- a/tools/dockerfile/test/sanity/Dockerfile
+++ b/tools/dockerfile/test/sanity/Dockerfile
@@ -108,9 +108,11 @@ 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
-
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
+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++