mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-05-07 17:39:14 +00:00
DEVOPS-934: Fix UBI image labels in order to be able to pass Red Hat pre-flight checks (#1812)
* DEVOPS-934: Fix UBI image labels in order to be able to pass Red Hat pre-flight checks
This commit is contained in:
parent
422a7fc5b1
commit
949999145e
@ -35,7 +35,7 @@ RUN microdnf install -y yum findutils openssl \
|
|||||||
|
|
||||||
WORKDIR /opt/kube-bench/
|
WORKDIR /opt/kube-bench/
|
||||||
|
|
||||||
ENV PATH=$PATH:/usr/local/mount-from-host/bin
|
ENV PATH=$PATH:/usr/local/mount-from-host/bin
|
||||||
|
|
||||||
COPY LICENSE /licenses/LICENSE
|
COPY LICENSE /licenses/LICENSE
|
||||||
COPY --from=build /go/bin/kube-bench /usr/local/bin/kube-bench
|
COPY --from=build /go/bin/kube-bench /usr/local/bin/kube-bench
|
||||||
@ -53,14 +53,14 @@ ARG VCS_REF
|
|||||||
ARG KUBEBENCH_VERSION
|
ARG KUBEBENCH_VERSION
|
||||||
|
|
||||||
LABEL org.label-schema.build-date=$BUILD_DATE \
|
LABEL org.label-schema.build-date=$BUILD_DATE \
|
||||||
org.label-schema.name="kube-bench" \
|
|
||||||
org.label-schema.vendor="Aqua Security Software Ltd." \
|
|
||||||
org.label-schema.version=$KUBEBENCH_VERSION \
|
|
||||||
org.label-schema.release=$KUBEBENCH_VERSION \
|
|
||||||
org.label-schema.summary="Aqua security server" \
|
|
||||||
org.label-schema.maintainer="admin@aquasec.com" \
|
|
||||||
org.label-schema.description="Run the CIS Kubernetes Benchmark tests" \
|
org.label-schema.description="Run the CIS Kubernetes Benchmark tests" \
|
||||||
org.label-schema.url="https://github.com/aquasecurity/kube-bench" \
|
org.label-schema.url="https://github.com/aquasecurity/kube-bench" \
|
||||||
org.label-schema.vcs-ref=$VCS_REF \
|
org.label-schema.vcs-ref=$VCS_REF \
|
||||||
org.label-schema.vcs-url="https://github.com/aquasecurity/kube-bench" \
|
org.label-schema.vcs-url="https://github.com/aquasecurity/kube-bench" \
|
||||||
org.label-schema.schema-version="1.0"
|
org.label-schema.schema-version="1.0" \
|
||||||
|
vendor="Aqua Security Software Ltd." \
|
||||||
|
maintainer="Aqua Security Software Ltd." \
|
||||||
|
version=$KUBEBENCH_VERSION \
|
||||||
|
release=$KUBEBENCH_VERSION \
|
||||||
|
summary="Aqua Security Kube-bench." \
|
||||||
|
description="Run the CIS Kubernetes Benchmark tests"
|
Loading…
Reference in New Issue
Block a user