refactor: 取消安装docker-compose. 用docker compose子命令代替
This commit is contained in:
@@ -38,11 +38,6 @@ install_dependencies(){
|
|||||||
curl -fsSL https://get.docker.com | bash -s docker
|
curl -fsSL https://get.docker.com | bash -s docker
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! command -v docker-compose >/dev/null 2>&1; then
|
|
||||||
echo 安装docker-compose...
|
|
||||||
wget -O /usr/local/bin/docker-compose https://github.com/docker/compose/releases/download/v2.29.0/docker-compose-linux-x86_64
|
|
||||||
chmod +x /usr/local/bin/docker-compose
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user