如果我这样做,并扫描图像,就不会有漏洞。
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 也可以这样做?
谢谢