mirror of
https://github.com/YACReader/yacreader
synced 2026-03-02 10:50:04 -05:00
Enable ninja in docker builds
This commit is contained in:
@ -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 \
|
||||||
|
|||||||
@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user