浏览代码

fix: download-tools 使用 gh-proxy 镜像地址解决构建时网络不通问题

kinglee 1 周之前
父节点
当前提交
541903f0e4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pack/Dockerfile

+ 2 - 2
pack/Dockerfile

@@ -535,8 +535,8 @@ RUN --mount=type=cache,target=/root/.cache \
     uv pip install --no-build-isolation --extra-index-url https://download.pytorch.org/whl/cpu/ --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple \
         ${WHEEL_PACKAGE}
 
-    # Download tools
-    gpustack download-tools
+    # Download tools (use gh-proxy mirror for China network)
+    gpustack download-tools --tools-download-base-url "https://gh-proxy.com/https://github.com"
     tree -hs "$(pip show gpustack | grep Location: | head -n 1 | cut -d" " -f 2)/gpustack/third_party"
 
     # Set up environment