docker: Use Ninja for azahar-room Docker image build

This commit is contained in:
OpenSauce04 2025-12-01 23:04:16 +00:00 committed by OpenSauce
parent e1a7c24ecd
commit 9099b9cfb7

View File

@ -7,7 +7,8 @@ FROM opensauce04/azahar-build-environment:latest AS builder
COPY . /var/azahar-src COPY . /var/azahar-src
RUN mkdir builddir && cd builddir && \ RUN mkdir builddir && cd builddir && \
cmake /var/azahar-src -DENABLE_QT=OFF \ cmake /var/azahar-src -G Ninja \
-DENABLE_QT=OFF \
-DENABLE_TESTS=OFF \ -DENABLE_TESTS=OFF \
-DENABLE_ROOM=ON \ -DENABLE_ROOM=ON \
-DENABLE_ROOM_STANDALONE=ON \ -DENABLE_ROOM_STANDALONE=ON \
@ -17,7 +18,7 @@ RUN mkdir builddir && cd builddir && \
-DENABLE_LIBUSB=OFF \ -DENABLE_LIBUSB=OFF \
-DENABLE_CUBEB=OFF \ -DENABLE_CUBEB=OFF \
-DENABLE_OPENAL=OFF && \ -DENABLE_OPENAL=OFF && \
cmake --build . -j$(nproc) && \ ninja && \
mv bin/Release/azahar-room /usr/local/bin/ && \ mv bin/Release/azahar-room /usr/local/bin/ && \
cd .. && rm -rf builddir cd .. && rm -rf builddir