From a31707ca584721e982005af34936ec935c21676d Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Sun, 16 Oct 2022 15:50:02 +0200 Subject: [PATCH] Add opencontainers label (#138) --- Dockerfile | 7 +++++++ Dockerfile-alpine | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/Dockerfile b/Dockerfile index df7f27d..7671211 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,13 @@ FROM alpine:3.14 as certs RUN apk add ca-certificates FROM scratch AS kubeconform +LABEL org.opencontainers.image.authors="yann@mandragor.org" \ + org.opencontainers.image.source="https://github.com/yannh/kubeconform/" \ + org.opencontainers.image.description="A Kubernetes manifests validation tool" \ + org.opencontainers.image.documentation="https://github.com/yannh/kubeconform/" \ + org.opencontainers.image.licenses="Apache License 2.0" \ + org.opencontainers.image.title="kubeconform" \ + org.opencontainers.image.url="https://github.com/yannh/kubeconform/" MAINTAINER Yann HAMON COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY kubeconform / diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 281b18c..d82bbf3 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,4 +1,11 @@ FROM alpine:3.14 as certs +LABEL org.opencontainers.image.authors="yann@mandragor.org" \ + org.opencontainers.image.source="https://github.com/yannh/kubeconform/" \ + org.opencontainers.image.description="A Kubernetes manifests validation tool" \ + org.opencontainers.image.documentation="https://github.com/yannh/kubeconform/" \ + org.opencontainers.image.licenses="Apache License 2.0" \ + org.opencontainers.image.title="kubeconform" \ + org.opencontainers.image.url="https://github.com/yannh/kubeconform/" MAINTAINER Yann HAMON RUN apk add ca-certificates COPY kubeconform /