light/tools/ci/images/static_analysis/Dockerfile

36 lines
710 B
Text
Raw Normal View History

2025-07-11 14:34:20 +03:30
FROM alpine:latest
RUN apk add --no-cache \
bash \
clang \
llvm \
cmake \
git \
make \
g++ \
python3 \
2025-07-11 14:54:48 +03:30
py3-pip \
mesa-dev \
mesa-gl \
2025-07-11 16:10:50 +03:30
pkgconf \
clang-extra-tools
2025-07-11 14:34:20 +03:30
2025-07-11 14:44:07 +03:30
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
&& conan profile detect
2025-07-11 14:34:20 +03:30
RUN clang --version \
&& conan --version \
&& pip --version \
2025-07-11 16:10:50 +03:30
&& cmake --version \
&& clang --version \
&& clang-tidy --version
2025-07-11 14:42:22 +03:30
RUN git clone 'https://git.light7734.com/light7734/light.git' --recursive \
&& cd light \
2025-07-11 14:46:33 +03:30
&& conan install . \
-c tools.system.package_manager:mode=install \
-o enable_static_analysis=True \
--build=missing