From 638ff3cc595394ebd0c4e0901413cb65c7fd3367 Mon Sep 17 00:00:00 2001 From: hc-github-team-consul-core Date: Fri, 3 Jan 2025 02:46:58 -0500 Subject: [PATCH] Backport of Added labels for redhat validation into release/1.20.x (#22048) backport of commit c362c6be1f1182134e24d633ed5cb6cbc1ad35c2 Co-authored-by: Abhishek --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0440878788ff..037e437ae9e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,13 @@ LABEL org.opencontainers.image.authors="Consul Team " \ org.opencontainers.image.vendor="HashiCorp" \ org.opencontainers.image.title="consul" \ org.opencontainers.image.description="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ + name="Consul" \ + maintainer="Consul Team " \ + vendor="HashiCorp" \ + release=${PRODUCT_REVISION} \ + revision=${PRODUCT_REVISION} \ + summary="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ + description="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ version=${VERSION} # This is the location of the releases. @@ -137,6 +144,13 @@ LABEL org.opencontainers.image.authors="Consul Team " \ org.opencontainers.image.title="consul" \ org.opencontainers.image.description="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ org.opencontainers.image.licenses="BSL-1.1" \ + name="Consul" \ + maintainer="Consul Team " \ + vendor="HashiCorp" \ + release=${PRODUCT_REVISION} \ + revision=${PRODUCT_REVISION} \ + summary="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ + description="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ version=${PRODUCT_VERSION} COPY LICENSE /usr/share/doc/$PRODUCT_NAME/LICENSE.txt @@ -227,6 +241,13 @@ LABEL org.opencontainers.image.authors="Consul Team " \ org.opencontainers.image.title="consul" \ org.opencontainers.image.description="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ org.opencontainers.image.licenses="BSL-1.1" \ + name="Consul" \ + maintainer="Consul Team " \ + vendor="HashiCorp" \ + release=${PRODUCT_REVISION} \ + revision=${PRODUCT_REVISION} \ + summary="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ + description="Consul is a datacenter runtime that provides service discovery, configuration, and orchestration." \ version=${PRODUCT_VERSION} COPY LICENSE /usr/share/doc/$PRODUCT_NAME/LICENSE.txt