摘要: 修复 docker build 错误 COPY failed forbidden path outside the build context 今天把一个项目的前后端代码放到一起,然后打包构建时发现这个错误 COPY failed forbidden path outside the build context... 阅读全文
posted @ 2022-11-21 21:46 复读机§ 阅读(2273) 评论(0) 推荐(0) 编辑
摘要: 修复 docker build 错误 "-t, --tag" flag: invalid reference format 构建 docker 镜像时遇到了一个 --tag invalid reference format 的错误... 阅读全文
posted @ 2022-11-21 20:25 复读机§ 阅读(1577) 评论(0) 推荐(0) 编辑
摘要: Jenkinsfile 同时检出多个 Git 仓库 在Jenkinsfile检出Git仓库很容易,但若想同时检出多个Git仓库应该怎么做呢... 阅读全文
posted @ 2022-11-16 21:48 复读机§ 阅读(1877) 评论(0) 推荐(3) 编辑
摘要: Dockerfile 跨阶段多阶段使用 ARG 命令 若要使 Dockerfile 的 `ARG` 命令可以跨多个阶段使用... 阅读全文
posted @ 2022-10-18 19:08 复读机§ 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 修复 docker build 错误 "ERROR: No build stage in current context" 若 docker build 时遇到了错误 "ERROR: No build stage in current context",则有可能是没有... 阅读全文
posted @ 2022-10-18 18:53 复读机§ 阅读(2328) 评论(0) 推荐(0) 编辑