Inital entry.sh commit

This commit is contained in:
Caleb Fultz 2023-11-15 10:46:37 -05:00
parent cda66f5c07
commit c1dedda343
2 changed files with 9 additions and 6 deletions

View File

@ -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" ]

6
entry.sh Normal file
View File

@ -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/