Inital entry.sh commit
This commit is contained in:
parent
cda66f5c07
commit
c1dedda343
@ -27,10 +27,7 @@ RUN cd /root/zandronum_build \
|
|||||||
wget -nc https://zandronum.com/essentials/fmod/fmodapi44464linux.tar.gz \
|
wget -nc https://zandronum.com/essentials/fmod/fmodapi44464linux.tar.gz \
|
||||||
tar -xvzf fmodapi44464linux.tar.gz -C zandronum
|
tar -xvzf fmodapi44464linux.tar.gz -C zandronum
|
||||||
|
|
||||||
RUN cd /root/zandronum_build/zandronum/buildserver && \
|
COPY entry.sh /root/entry.sh
|
||||||
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/
|
|
||||||
|
|
||||||
|
CMD [ "/root/entry.sh" ]
|
||||||
|
ENTRYPOINT [ "/bin/bash" ]
|
6
entry.sh
Normal file
6
entry.sh
Normal 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/
|
Loading…
Reference in New Issue
Block a user