diff --git a/Dockerfile b/Dockerfile index cb849fc..ea909cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,18 +20,17 @@ libssl-dev tar libglew-dev libgl1-mesa-dev RUN cd /root/ && mkdir -pv /root/zandronum_build && mkdir -pv /root/complete RUN cd /root/zandronum_build && \ -hg clone https://hg.osdn.net/view/zandronum/zandronum-stable zandronum && \ +hg clone --insecure https://hg.osdn.net/view/zandronum/zandronum-stable zandronum && \ mkdir -pv zandronum/buildclient zandronum/buildserver -RUN cd /root/zandronum_build && -wget -nc https://zandronum.com/essentials/fmod/fmodapi44464linux.tar.gz && +RUN cd /root/zandronum_build \ +wget -nc https://zandronum.com/essentials/fmod/fmodapi44464linux.tar.gz \ tar -xvzf fmodapi44464linux.tar.gz -C zandronum -RUN c="$(lscpu -p | grep -v '#' | sort -u -t , -k 2,4 | wc -l)" ; [ "$c" -eq 0 ] && c=1 \ -cd ~/zandronum_build/zandronum/buildserver && \ +RUN cd /root/zandronum_build/zandronum/buildserver && \ cmake .. -DCMAKE_BUILD_TYPE=Release -DSERVERONLY=ON -DRELEASE_WITH_DEBUG_FILE=OFF && \ -make -j$c +make -j$(nproc) -RUN cp zandronum-server /root/complete/ +RUN cp /root/zandronum_build/zandronum/buildserver/zandronum-server /root/complete/