Imported Upstream version 1.33.1
[platform/upstream/grpc.git] / tools / dockerfile / grpc_clang_tidy / Dockerfile
index 662ff8a..494dc64 100644 (file)
@@ -61,12 +61,12 @@ RUN mkdir /var/local/jenkins
 
 
 
-# Add buster-backports for more recent clang packages
-RUN echo "deb http://deb.debian.org/debian buster-backports main" | tee /etc/apt/sources.list.d/buster-backports.list
-
-# Install clang-tidy 7
-RUN apt-get update && apt-get install -y clang-tidy-8 jq
-ENV CLANG_TIDY=clang-tidy-8
+# Install clang-tidy 6.0
+# This is because clang-tidy 7.0 started treating compiler errors as tidy errors
+# and there are a couple of files which are not properly compiled via tidy so it
+# should be using 6.0 version until all compilation errors are addressed.
+RUN apt-get update && apt-get install -y clang-tidy-6.0
+ENV CLANG_TIDY=clang-tidy-6.0
 
 ADD clang_tidy_all_the_things.sh /