mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
不使用host网络编译
This commit is contained in:
parent
e55889f69d
commit
845009f753
@ -54,7 +54,7 @@ function install() {
|
||||
|
||||
echo "打包镜像"
|
||||
echo "使用的端口为:${port}"
|
||||
docker build --no-cache --build-arg ZT_PORT=$port --network host -t $imageName .
|
||||
docker build --no-cache --build-arg ZT_PORT=$port -t $imageName .
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "镜像打包失败,请重试"
|
||||
echo "国内机器打包容易失败,请多试几次"
|
||||
|
Loading…
Reference in New Issue
Block a user