Enable ninja in docker builds

This commit is contained in:
Luis Ángel San Martín Rodríguez
2026-02-25 18:04:05 +01:00
parent 865020fe11
commit cd0d89d46b
2 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,7 @@ RUN \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
build-essential \ build-essential \
cmake \ cmake \
ninja-build \
desktop-file-utils \ desktop-file-utils \
gcc \ gcc \
g++ \ g++ \
@ -61,7 +62,7 @@ RUN git clone https://github.com/YACReader/yacreader.git /src/git && \
# build yacreaderlibraryserver (7zip source is auto-downloaded by CMake FetchContent) # build yacreaderlibraryserver (7zip source is auto-downloaded by CMake FetchContent)
RUN cd /src/git && \ RUN cd /src/git && \
cmake -B build \ cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/app \ -DCMAKE_INSTALL_PREFIX=/app \
-DDECOMPRESSION_BACKEND=7zip \ -DDECOMPRESSION_BACKEND=7zip \
-DBUILD_SERVER_STANDALONE=ON \ -DBUILD_SERVER_STANDALONE=ON \

View File

@ -15,6 +15,7 @@ RUN \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
build-essential \ build-essential \
cmake \ cmake \
ninja-build \
desktop-file-utils \ desktop-file-utils \
gcc \ gcc \
g++ \ g++ \
@ -58,7 +59,7 @@ RUN git clone https://github.com/YACReader/yacreader.git /src/git && \
# build yacreaderlibraryserver (7zip source is auto-downloaded by CMake FetchContent) # build yacreaderlibraryserver (7zip source is auto-downloaded by CMake FetchContent)
RUN cd /src/git && \ RUN cd /src/git && \
cmake -B build \ cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/app \ -DCMAKE_INSTALL_PREFIX=/app \
-DDECOMPRESSION_BACKEND=7zip \ -DDECOMPRESSION_BACKEND=7zip \
-DBUILD_SERVER_STANDALONE=ON \ -DBUILD_SERVER_STANDALONE=ON \