light/tools/ci/static_analysis/clang_tidy.dockerfile
light7734 3998c4127a
All checks were successful
continuous-integration/drone/push Build is passing
ci: add memory sanitization check (#9)
reviewed-on: #9
Co-authored-by: light7734 <light7734@tuta.io>
Co-committed-by: light7734 <light7734@tuta.io>
2025-07-20 11:12:29 +00:00

42 lines
906 B
Docker

FROM alpine:latest
RUN apk add --no-cache \
bash \
clang \
llvm \
cmake \
git \
make \
g++ \
python3 \
py3-pip \
mesa-dev \
mesa-gl \
pkgconf \
clang-extra-tools \
mold \
ninja
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
&& conan profile detect
RUN clang --version \
&& conan --version \
&& pip --version \
&& cmake --version \
&& g++ --version \
&& clang --version \
&& clang-tidy --version \
&& ninja --version \
&& mold --version
RUN git clone 'https://git.light7734.com/light7734/light.git' \
&& cd light \
&& conan install . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-s build_type=Release \
-o enable_static_analysis=True \
-o use_mold=True \
--build=missing