From ef6036f63e08cb2b998b35826a155f1387f7eb5a Mon Sep 17 00:00:00 2001 From: xinbingnan Date: Wed, 14 Sep 2022 17:59:17 +0800 Subject: [PATCH] tools/ci/docker/linux/Dockerfile: Install CodeChecker and requirements(clang, clang-tidy) Signed-off-by: xinbingnan --- tools/ci/docker/linux/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/ci/docker/linux/Dockerfile b/tools/ci/docker/linux/Dockerfile index 8d89c385c2..54c0fd7adf 100644 --- a/tools/ci/docker/linux/Dockerfile +++ b/tools/ci/docker/linux/Dockerfile @@ -229,6 +229,8 @@ RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q gcc \ gcc-avr \ gcc-multilib \ + clang \ + clang-tidy \ gettext \ git \ lib32z1-dev \ @@ -260,6 +262,8 @@ ENV PIP_NO_CACHE_DIR=0 # setuptools and also wheel so we can use the binary releases of packages # instead of requiring them to be compiled. RUN pip3 install setuptools wheel +# Install CodeChecker and use it to statically analyze the code. +RUN pip3 install CodeChecker RUN mkdir /tools WORKDIR /tools