mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 20:58:14 -05:00
feat: 🎸 替换加速镜像
This commit is contained in:
parent
7ff0420fb1
commit
2db2583445
@ -13,7 +13,7 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/re
|
|||||||
npm config set registry http://registry.npm.taobao.org &&\
|
npm config set registry http://registry.npm.taobao.org &&\
|
||||||
|
|
||||||
# 安装ztncui
|
# 安装ztncui
|
||||||
cd /opt && git clone https://github.com.cnpmjs.org/key-networks/ztncui.git &&\
|
cd /opt && git clone https://github.91chi.fun/https://github.com/key-networks/ztncui.git &&\
|
||||||
cd ztncui/src && npm install -g node-gyp && npm install &&\
|
cd ztncui/src && npm install -g node-gyp && npm install &&\
|
||||||
cp -pv ./etc/default.passwd ./etc/passwd &&\
|
cp -pv ./etc/default.passwd ./etc/passwd &&\
|
||||||
echo 'HTTP_PORT=3443' > .env&&\
|
echo 'HTTP_PORT=3443' > .env&&\
|
||||||
@ -22,7 +22,7 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/re
|
|||||||
|
|
||||||
# 添加补丁
|
# 添加补丁
|
||||||
cd /opt && \
|
cd /opt && \
|
||||||
git clone https://github.com.cnpmjs.org/zerotier/ZeroTierOne.git && \
|
git clone https://github.91chi.fun/https://github.com/zerotier/ZeroTierOne.git && \
|
||||||
|
|
||||||
cd /var/lib/zerotier-one && \
|
cd /var/lib/zerotier-one && \
|
||||||
zerotier-idtool generate identity.public identity.secret &&\
|
zerotier-idtool generate identity.public identity.secret &&\
|
||||||
|
Loading…
Reference in New Issue
Block a user