mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-22 08:08:07 +00:00
chore: update base image to ubi9 (#1556)
This commit is contained in:
parent
a93b19f0c0
commit
57fba224fa
@ -11,7 +11,7 @@ RUN make build-fips && cp kube-bench /go/bin/kube-bench
|
|||||||
|
|
||||||
|
|
||||||
# ubi8-minimal base image for build with ubi standards
|
# ubi8-minimal base image for build with ubi standards
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal as run
|
FROM registry.access.redhat.com/ubi9/ubi-minimal as run
|
||||||
|
|
||||||
RUN microdnf install -y yum findutils openssl \
|
RUN microdnf install -y yum findutils openssl \
|
||||||
&& yum -y update-minimal --security --sec-severity=Moderate --sec-severity=Important --sec-severity=Critical \
|
&& yum -y update-minimal --security --sec-severity=Moderate --sec-severity=Important --sec-severity=Critical \
|
||||||
|
@ -11,7 +11,7 @@ RUN make build && cp kube-bench /go/bin/kube-bench
|
|||||||
|
|
||||||
|
|
||||||
# ubi8-minimal base image for build with ubi standards
|
# ubi8-minimal base image for build with ubi standards
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal as run
|
FROM registry.access.redhat.com/ubi9/ubi-minimal as run
|
||||||
|
|
||||||
RUN microdnf install -y yum findutils openssl \
|
RUN microdnf install -y yum findutils openssl \
|
||||||
&& yum -y update-minimal --security --sec-severity=Moderate --sec-severity=Important --sec-severity=Critical \
|
&& yum -y update-minimal --security --sec-severity=Moderate --sec-severity=Important --sec-severity=Critical \
|
||||||
|
Loading…
Reference in New Issue
Block a user