summaryrefslogtreecommitdiff
path: root/grpc/tools/dockerfile/grpc_clang_tidy/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/tools/dockerfile/grpc_clang_tidy/Dockerfile')
-rw-r--r--grpc/tools/dockerfile/grpc_clang_tidy/Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/grpc/tools/dockerfile/grpc_clang_tidy/Dockerfile b/grpc/tools/dockerfile/grpc_clang_tidy/Dockerfile
index adc91d16..804e20d5 100644
--- a/grpc/tools/dockerfile/grpc_clang_tidy/Dockerfile
+++ b/grpc/tools/dockerfile/grpc_clang_tidy/Dockerfile
@@ -12,11 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM debian:bullseye
+FROM silkeh/clang:13
-# Install clang-tidy 11
-RUN apt-get update && apt-get install -y clang-tidy-11 jq
-ENV CLANG_TIDY=clang-tidy-11
+# Install prerequisites for the clang-tidy script
+RUN apt-get update && apt-get install -y python3 jq git && apt-get clean
+
+# otherwise clang-tidy will report missing <gtest/gtest.h> header
+RUN apt-get update && apt-get install -y libgtest-dev && apt-get clean
ADD clang_tidy_all_the_things.sh /