From 4d130c2f70598c06972b92a083eff16722181bd0 Mon Sep 17 00:00:00 2001 From: xubiaolin Date: Sat, 27 Nov 2021 22:03:43 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E2=9A=A1=EF=B8=8F=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?moon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index e894ae3..fc7a271 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,9 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/re cp /opt/patch/* . &&\ python3 patch.py &&\ + zerotier-idtool genmoon moon.json &&\ + mkdir moons.d && cp ./*.moon ./moons.d &&\ + rm /opt/ZeroTierOne/attic/world/mkworld.cpp &&\ cp mkworld.cpp /opt/ZeroTierOne/attic/world/ &&\ cd /opt/ZeroTierOne/attic/world/ && \