remote repository 标签归档 - 永夜 没有不值得去解决的问题,也没有不值得去学习的技术! Sun, 09 Aug 2026 08:32:47 +0000 zh-Hans hourly 1 https://wordpress.org/?v=7.1.3 https://media.shuijingwanwq.com/2026/05/logo-150x150.png remote repository 标签归档 - 永夜 32 32 在 jenkins 中构建镜像时,报错:fatal Could not read from remote repository 的解决 https://www.shuijingwanwq.com/2020/08/03/4340/ Mon, 03 Aug 2020 06:00:44 +0000 https://www.shuijingwanwq.com/?p=4340 在 Jenkins 中构建镜像时遇到无法读取远程仓库的错误,虽然 Packagist 镜像地址已切换为阿里云,问题仍未解决。最终通过将 vendor 目录添加至 Git 仓库,并编辑 .gitignore 文件保留该目录,随后修改 Dockerfile 删除与 composer 相关的 4 行命令,再次执行构建后成功解决问题。

在 jenkins 中构建镜像时,报错:fatal Could not read from remote repository 的解决最先出现在永夜。

]]>