docker: Use Ninja for azahar-room Docker image build

This commit is contained in:
OpenSauce04 2025-12-01 23:04:16 +00:00
parent ff51e98901
commit 14bf624a20

View File

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