From c1dedda343803787914ebb6f530a6e49f0143db1 Mon Sep 17 00:00:00 2001 From: Caleb Fultz Date: Wed, 15 Nov 2023 10:46:37 -0500 Subject: [PATCH] Inital entry.sh commit --- Dockerfile | 9 +++------ entry.sh | 6 ++++++ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 entry.sh diff --git a/Dockerfile b/Dockerfile index ea909cd..4d4ca48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,10 +27,7 @@ RUN cd /root/zandronum_build \ wget -nc https://zandronum.com/essentials/fmod/fmodapi44464linux.tar.gz \ tar -xvzf fmodapi44464linux.tar.gz -C zandronum -RUN cd /root/zandronum_build/zandronum/buildserver && \ -cmake .. -DCMAKE_BUILD_TYPE=Release -DSERVERONLY=ON -DRELEASE_WITH_DEBUG_FILE=OFF && \ -make -j$(nproc) - - -RUN cp /root/zandronum_build/zandronum/buildserver/zandronum-server /root/complete/ +COPY entry.sh /root/entry.sh +CMD [ "/root/entry.sh" ] +ENTRYPOINT [ "/bin/bash" ] \ No newline at end of file diff --git a/entry.sh b/entry.sh new file mode 100644 index 0000000..744959b --- /dev/null +++ b/entry.sh @@ -0,0 +1,6 @@ +#!/bin/bash +cd /root/zandronum_build/zandronum/buildserver && \ +cmake .. -DCMAKE_BUILD_TYPE=Release -DSERVERONLY=ON -DRELEASE_WITH_DEBUG_FILE=OFF && \ +make -j$(nproc) && \ +cp /root/zandronum_build/zandronum/buildserver/zandronum-server /root/complete/ +cp /root/zandronum_build/zandronum/buildserver/*.pk3 /root/complete/ \ No newline at end of file