Skip to content

Commit

Permalink
DEVOPS-934: Fix UBI image labels in order to be able to pass Red Hat …
Browse files Browse the repository at this point in the history
…pre-flight checks (#1812)

* DEVOPS-934: Fix UBI image labels in order to be able to pass Red Hat pre-flight checks
  • Loading branch information
tikolsky authored Feb 19, 2025
1 parent 422a7fc commit 9499991
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN microdnf install -y yum findutils openssl \

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 --from=build /go/bin/kube-bench /usr/local/bin/kube-bench
Expand All @@ -53,14 +53,14 @@ ARG VCS_REF
ARG KUBEBENCH_VERSION

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="[email protected]" \
org.label-schema.description="Run the CIS Kubernetes Benchmark tests" \
org.label-schema.url="https://github.com/aquasecurity/kube-bench" \
org.label-schema.vcs-ref=$VCS_REF \
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"

0 comments on commit 9499991

Please sign in to comment.