From c4d15484f67a2a00525489f62fb8b72c9ba260d9 Mon Sep 17 00:00:00 2001 From: Michael Wilkerson Date: Thu, 13 Jun 2024 15:53:46 -0700 Subject: [PATCH] updated license Signed-off-by: Michael Wilkerson --- Dockerfile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c7146e..b7d37df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,13 +31,17 @@ ARG VERSION ARG TARGETARCH ARG TARGETOS -LABEL name=${BIN_NAME} \ - maintainer="Team Consul Kubernetes " \ - vendor="HashiCorp" \ - version=${VERSION} \ - release=${VERSION} \ - summary="rollouts-plugin-trafficrouter-consul is a plugin for Argo Rollouts." \ - description="rollouts-plugin-trafficrouter-consul is a plugin for Argo Rollouts." +LABEL maintainer="Team Consul Kubernetes " \ + org.opencontainers.image.title=${BIN_NAME} \ + org.opencontainers.image.description="rollouts-plugin-trafficrouter-consul is a plugin for Argo Rollouts." \ + org.opencontainers.image.authors="Team Consul Kubernetes " \ + org.opencontainers.image.version=${PRODUCT_VERSION} \ + org.opencontainers.image.revision=${PRODUCT_REVISION} \ + org.opencontainers.image.vendor="HashiCorp" \ + org.opencontainers.image.licenses="BUSL-1.1" + +RUN mkdir -p /usr/share/doc/plugin +COPY LICENSE /usr/share/doc/plugin/LICENSE.txt # Set ARGs as ENV so that they can be used in ENTRYPOINT/CMD ENV BIN_NAME=${BIN_NAME}