image - 更新 openshift 镜像
问题描述
如果我这样做,并扫描图像,就不会有漏洞。
oc new-build -D $'FROM centos:8\nRUN yum install -y epel-release && yum update -y && yum install -y httpd'
results:
Vulnerabilities found for image centos-2: total - 0, critical - 0, high - 0, medium - 0, low - 0
Vulnerability threshold check results: PASS
所以我必须先准备图像?或者 s2i 也可以做到这一点?
谢谢
解决方案
推荐阅读
- .net - IMFSourceResolver::EndCreateObjectFromURL 抛出 System.AccessViolationException
- sql - 批评我的检查路线 SQL 架构
- javascript - 使用 appendchild 在已加载的表数据中动态填充文本列
- powerbi - 如何制定衡量超过一定数量的汇总值的措施
- c - typedef struct 使指针成为下一个指向节点是什么意思?
- javascript - 以 async/await 并发启动
- android - 如何从片段向主要活动发送信息?
- python - python中文本文件中的俚语
- permissions - 获得许可后软键盘第一次不显示
- javascript - 如何在nodeJS中进行回调