Added CodeChecker.
Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
parent
adbe503f0a
commit
726e25180d
13
Dockerfile
13
Dockerfile
|
@ -1,17 +1,20 @@
|
|||
FROM ubuntu:jammy
|
||||
# syntax=docker/dockerfile:1-labs
|
||||
FROM python:3-bullseye
|
||||
|
||||
ENV TOOLCHAIN_VERSION="12.2.mpacbti-rel1"
|
||||
|
||||
ADD https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu/${TOOLCHAIN_VERSION}/binrel/arm-gnu-toolchain-${TOOLCHAIN_VERSION}-x86_64-arm-none-eabi.tar.xz /opt/toolchain.tar.xz
|
||||
ADD --checksum=sha256:17455a06c816031cc2c66243c117cba48463cd6a3a3fdfac7275b4e9c40eb314 \
|
||||
https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu/${TOOLCHAIN_VERSION}/binrel/arm-gnu-toolchain-${TOOLCHAIN_VERSION}-x86_64-arm-none-eabi.tar.xz \
|
||||
/opt/toolchain.tar.xz
|
||||
|
||||
RUN sed -ie 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
|
||||
RUN sed -ie 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential cmake xz-utils
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential cmake xz-utils clang cppcheck clang-tidy
|
||||
|
||||
RUN tar -xf /opt/toolchain.tar.xz --strip-components 1 -C /usr/local
|
||||
|
||||
RUN rm /opt/toolchain.tar.xz
|
||||
|
||||
|
||||
RUN pip install codechecker
|
||||
|
|
Loading…
Reference in New Issue