From cd93b8c5ab58b3ecda40d43918b94740f6a5d472 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 17 Aug 2023 01:37:17 +0800 Subject: [PATCH] tools/ci: Don't install CodeChecker in the final docker image since it fail to install on ubuntu 22.04: ERROR: failed to solve: process "/bin/sh -c pip3 install CodeChecker" did not complete successfully: exit code: 1 Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c pip3 install CodeChecker" did not complete successfully: exit code: 1 Signed-off-by: Xiang Xiao --- tools/ci/docker/linux/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ci/docker/linux/Dockerfile b/tools/ci/docker/linux/Dockerfile index 30a63622fd..d5a2d9703d 100644 --- a/tools/ci/docker/linux/Dockerfile +++ b/tools/ci/docker/linux/Dockerfile @@ -295,7 +295,7 @@ RUN pip3 install setuptools RUN pip3 install wheel RUN pip3 install cmake-format # Install CodeChecker and use it to statically analyze the code. -RUN pip3 install CodeChecker +# RUN pip3 install CodeChecker # Install cvt2utf to check for non-UTF characters. RUN pip3 install cvt2utf # Install pytest @@ -330,7 +330,7 @@ ENV PATH="/tools/rust/cargo/bin:$PATH" # ARM toolchain COPY --from=nuttx-toolchain-arm /tools/clang-arm-none-eabi/ clang-arm-none-eabi/ -RUN cp /usr/bin/clang-extdef-mapping-10 clang-arm-none-eabi/bin/clang-extdef-mapping +# RUN cp /usr/bin/clang-extdef-mapping-10 clang-arm-none-eabi/bin/clang-extdef-mapping ENV PATH="/tools/clang-arm-none-eabi/bin:$PATH" COPY --from=nuttx-toolchain-arm /tools/gcc-arm-none-eabi/ gcc-arm-none-eabi/