feat(apps/docker): use Ninja to improve build error visibility (#26281)
This commit is contained in:
@@ -64,7 +64,7 @@ ARG CCACHE_LOGFILE=""
|
|||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
build-essential ccache libtool cmake-data make cmake clang \
|
build-essential ccache libtool cmake-data ninja-build cmake clang \
|
||||||
git lsb-base curl unzip default-mysql-client openssl \
|
git lsb-base curl unzip default-mysql-client openssl \
|
||||||
default-libmysqlclient-dev libboost-all-dev libssl-dev libmysql++-dev \
|
default-libmysqlclient-dev libboost-all-dev libssl-dev libmysql++-dev \
|
||||||
libreadline-dev zlib1g-dev libbz2-dev libncurses5-dev liblzma-dev \
|
libreadline-dev zlib1g-dev libbz2-dev libncurses5-dev liblzma-dev \
|
||||||
@@ -89,6 +89,7 @@ RUN --mount=type=cache,target=/ccache,sharing=locked \
|
|||||||
--mount=type=bind,target=/azerothcore/.git,source=.git \
|
--mount=type=bind,target=/azerothcore/.git,source=.git \
|
||||||
git config --global --add safe.directory /azerothcore \
|
git config --global --add safe.directory /azerothcore \
|
||||||
&& cmake /azerothcore \
|
&& cmake /azerothcore \
|
||||||
|
-G Ninja \
|
||||||
-DCMAKE_INSTALL_PREFIX="/azerothcore/env/dist" \
|
-DCMAKE_INSTALL_PREFIX="/azerothcore/env/dist" \
|
||||||
-DAPPS_BUILD="all" \
|
-DAPPS_BUILD="all" \
|
||||||
-DTOOLS_BUILD="$CTOOLS_BUILD" \
|
-DTOOLS_BUILD="$CTOOLS_BUILD" \
|
||||||
|
|||||||
Reference in New Issue
Block a user