摘要: 1. 概述 在实际生产中,如果进行手动发布镜像到 Harbor,那么实在太 low 了。实际中,一般会结合 Jenkins 的流水线,进行自动构建和发布。 大致流程说明: 开发人员每天把代码提交到 Gitlab 代码仓库 Jenkins 从 Gitlab 代码仓库中拉取项目源码,进行编译并打成 ja 阅读全文
posted @ 2022-04-11 12:43 BUG弄潮儿 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1. Harbor 服务绑定 host [root@localhost harbor]# vi /etc/hosts[root@localhost harbor]# cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 阅读全文
posted @ 2022-04-11 12:39 BUG弄潮儿 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1. 概述 在实际项目中,有时官方提供的相关 docker 镜像不能满足企业对于镜像内部安全的要求;所以大型的企业都会构建属于企业内部的中间件的 docker 镜像。 2. 基于Alpine 制作 jre 镜像 alpine Linux 简介 Alpine Linux 是一个轻型 Linux 发行版 阅读全文
posted @ 2022-04-11 12:38 BUG弄潮儿 阅读(174) 评论(0) 推荐(0) 编辑