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 \
|
||||
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
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