From 4aed3a135eca55bb57822008f36754420feef0b3 Mon Sep 17 00:00:00 2001 From: Ruslan Aliev Date: Wed, 16 Sep 2020 17:00:11 -0500 Subject: [PATCH] Add label to Dockerfile Change-Id: I71fcbc0ac52280544b0511e94215947ac162dfb0 Signed-off-by: Ruslan Aliev --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index fa72a99b4..9ae8f191f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,13 @@ ARG GO_IMAGE=docker.io/golang:1.13.1-stretch ARG RELEASE_IMAGE=scratch FROM ${GO_IMAGE} as builder +LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc://#airshipit@freenode' \ + org.opencontainers.image.url='https://airshipit.org' \ + org.opencontainers.image.documentation='https://docs.airshipit.org/airshipctl/' \ + org.opencontainers.image.source='https://opendev.org/airship/airshipctl' \ + org.opencontainers.image.vendor='The Airship Authors' \ + org.opencontainers.image.licenses='Apache-2.0' + # Inject custom root certificate authorities if needed # Docker does not have a good conditional copy statement and requires that a source file exists # to complete the copy function without error. Therefore the README.md file will be copied to