light/tools/ci/amd64/gcc/unit_tests.dockerfile

39 lines
810 B
Text
Raw Permalink Normal View History

2025-07-15 16:49:34 +03:30
FROM alpine:latest
RUN apk add --no-cache \
bash \
clang \
llvm \
cmake \
git \
make \
g++ \
python3 \
py3-pip \
mesa-dev \
mesa-gl \
2025-07-17 11:58:32 +03:30
pkgconf \
ninja \
2025-07-17 11:58:32 +03:30
mold
2025-07-15 16:49:34 +03:30
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
2025-07-15 16:49:34 +03:30
2025-07-20 05:52:32 +03:30
RUN git clone 'https://git.light7734.com/light7734/light.git' \
2025-07-15 16:49:34 +03:30
&& cd light \
&& conan install . \
-s build_type=Release \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
2025-07-20 05:52:32 +03:30
-o use_mold=True \
2025-07-15 16:49:34 +03:30
--build=missing