Skip to content

Commit

Permalink
chore(RHTAPWATCH-840): Update Dockerfile to pass EC checks
Browse files Browse the repository at this point in the history
Added labels to the Dockerfile to mitigate the violation
labels.disallowed_inherited_labels and make the EC checks
pass.

Jira-Url: https://issues.redhat.com/browse/RHTAPWATCH-840
Signed-off-by: Homaja Marisetty <[email protected]>
  • Loading branch information
hmariset committed Feb 15, 2024
1 parent 7cbbda6 commit e2cd730
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3-1361.1699548032
RUN microdnf update --setopt=install_weak_deps=0 -y && microdnf install -y libcurl-minimal libcurl-devel

COPY --from=builder /bin/exporters /bin/exporters

# It is mandatory to set these labels
LABEL description="Konflux Observability Exporters"
LABEL io.k8s.description="Konflux Observability Exporters"
LABEL io.k8s.display-name="o11y-exporters"
LABEL io.openshift.tags="konflux"
LABEL summary="Konflux Observability Exporters"

CMD ["/bin/exporters"]

0 comments on commit e2cd730

Please sign in to comment.