All checks were successful
continuous-integration/drone/push Build is passing
reviewed-on: #9 Co-authored-by: light7734 <light7734@tuta.io> Co-committed-by: light7734 <light7734@tuta.io>
38 lines
810 B
Docker
38 lines
810 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
|
|
|
|
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
|