瀏覽代碼

fix(docker): 添加 hack 脚本执行权限,解决 Windows bind mount 后 Permission denied 问题

kinglee 2 周之前
父節點
當前提交
3eccf364ac
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pack/Dockerfile

+ 1 - 0
pack/Dockerfile

@@ -512,6 +512,7 @@ RUN --mount=type=cache,target=/root/.cache \
     # Build GPUStack
     cd /workspace/gpustack \
         && git config --global --add safe.directory /workspace/gpustack \
+        && chmod +x hack/*.sh hack/lib/*.sh \
         && make build
 
     # Install GPUStack.