feat(apps/docker): use Ninja to improve build error visibility (#26281)
This commit is contained in:
parent
331c3ca1fe
commit
af7bc95fad
1 changed files with 2 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ ARG CCACHE_LOGFILE=""
|
|||
|
||||
RUN apt-get update \
|
||||
&& 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 \
|
||||
default-libmysqlclient-dev libboost-all-dev libssl-dev libmysql++-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 \
|
||||
git config --global --add safe.directory /azerothcore \
|
||||
&& cmake /azerothcore \
|
||||
-G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX="/azerothcore/env/dist" \
|
||||
-DAPPS_BUILD="all" \
|
||||
-DTOOLS_BUILD="$CTOOLS_BUILD" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue