light/tools/ci/amd64/gcc/valgrind.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

39 lines
825 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 \
ninja \
mold \
valgrind
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 \
&& ninja --version \
&& mold --version
RUN git clone 'https://git.light7734.com/light7734/light.git' \
&& cd light \
&& conan install . \
-s build_type=Release \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-o use_mold=True \
--build=missing