首页 > 解决方案 > 更新 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 也可以做到这一点?

谢谢

标签: imagecontainersopenshift

解决方案


推荐阅读