This commit is contained in:
xubiaolin 2024-05-17 06:17:13 +08:00
parent 732b92b8ce
commit 9f5b5f8435

View File

@ -30,11 +30,12 @@ RUN set -x\
; zerotier-one -d \ ; zerotier-one -d \
; sleep 5s && ps -ef |grep zerotier-one |grep -v grep |awk '{print $1}' |xargs kill -9\ ; sleep 5s && ps -ef |grep zerotier-one |grep -v grep |awk '{print $1}' |xargs kill -9\
&& echo "zerotier-one init success!"\ && echo "zerotier-one init success!"\
&& cp /app/patch/mkworld_custom.cpp ./attic/world\ && cd ./attic/world \
&& mv ./attic/world/mkworld.cpp ./attic/world/mkworld.cpp.bak \ && cp /app/patch/mkworld_custom.cpp .\
&& mv ./attic/world/mkworld_custom.cpp ./attic/world/mkworld.cpp \ && mv mkworld.cpp mkworld.cpp.bak \
&& sh ./attic/world/build.sh \ && mv mkworld_custom.cpp mkworld.cpp \
&& mv ./attic/world/mkworld /var/lib/zerotier-one\ && sh build.sh \
&& mv mkworld /var/lib/zerotier-one\
&& echo "mkworld build success!" && echo "mkworld build success!"