From 9f5b5f843523dee901f460ca45dce13b39fa0c17 Mon Sep 17 00:00:00 2001 From: xubiaolin Date: Fri, 17 May 2024 06:17:13 +0800 Subject: [PATCH] no sense --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8eb57f7..40f9082 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,11 +30,12 @@ RUN set -x\ ; zerotier-one -d \ ; sleep 5s && ps -ef |grep zerotier-one |grep -v grep |awk '{print $1}' |xargs kill -9\ && echo "zerotier-one init success!"\ - && cp /app/patch/mkworld_custom.cpp ./attic/world\ - && mv ./attic/world/mkworld.cpp ./attic/world/mkworld.cpp.bak \ - && mv ./attic/world/mkworld_custom.cpp ./attic/world/mkworld.cpp \ - && sh ./attic/world/build.sh \ - && mv ./attic/world/mkworld /var/lib/zerotier-one\ + && cd ./attic/world \ + && cp /app/patch/mkworld_custom.cpp .\ + && mv mkworld.cpp mkworld.cpp.bak \ + && mv mkworld_custom.cpp mkworld.cpp \ + && sh build.sh \ + && mv mkworld /var/lib/zerotier-one\ && echo "mkworld build success!"