Remove deprecated Maintainer tag in Dockerfile (#267)

This commit is contained in:
Yann Hamon 2024-05-09 15:09:22 +02:00 committed by GitHub
parent ad166c7f0d
commit 71a59d74f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -2,14 +2,13 @@ FROM alpine:3.18.3 as certs
RUN apk add ca-certificates RUN apk add ca-certificates
FROM scratch AS kubeconform FROM scratch AS kubeconform
LABEL org.opencontainers.image.authors="yann@mandragor.org" \ LABEL org.opencontainers.image.authors="Yann Hamon <yann@mandragor.org>" \
org.opencontainers.image.source="https://github.com/yannh/kubeconform/" \ org.opencontainers.image.source="https://github.com/yannh/kubeconform/" \
org.opencontainers.image.description="A Kubernetes manifests validation tool" \ org.opencontainers.image.description="A Kubernetes manifests validation tool" \
org.opencontainers.image.documentation="https://github.com/yannh/kubeconform/" \ org.opencontainers.image.documentation="https://github.com/yannh/kubeconform/" \
org.opencontainers.image.licenses="Apache License 2.0" \ org.opencontainers.image.licenses="Apache License 2.0" \
org.opencontainers.image.title="kubeconform" \ org.opencontainers.image.title="kubeconform" \
org.opencontainers.image.url="https://github.com/yannh/kubeconform/" org.opencontainers.image.url="https://github.com/yannh/kubeconform/"
MAINTAINER Yann HAMON <yann@mandragor.org>
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY kubeconform / COPY kubeconform /
ENTRYPOINT ["/kubeconform"] ENTRYPOINT ["/kubeconform"]

View file

@ -1,12 +1,11 @@
FROM alpine:3.18.3 FROM alpine:3.18.3
LABEL org.opencontainers.image.authors="yann@mandragor.org" \ LABEL org.opencontainers.image.authors="Yann Hamon <yann@mandragor.org>" \
org.opencontainers.image.source="https://github.com/yannh/kubeconform/" \ org.opencontainers.image.source="https://github.com/yannh/kubeconform/" \
org.opencontainers.image.description="A Kubernetes manifests validation tool" \ org.opencontainers.image.description="A Kubernetes manifests validation tool" \
org.opencontainers.image.documentation="https://github.com/yannh/kubeconform/" \ org.opencontainers.image.documentation="https://github.com/yannh/kubeconform/" \
org.opencontainers.image.licenses="Apache License 2.0" \ org.opencontainers.image.licenses="Apache License 2.0" \
org.opencontainers.image.title="kubeconform" \ org.opencontainers.image.title="kubeconform" \
org.opencontainers.image.url="https://github.com/yannh/kubeconform/" org.opencontainers.image.url="https://github.com/yannh/kubeconform/"
MAINTAINER Yann HAMON <yann@mandragor.org>
RUN apk add ca-certificates RUN apk add ca-certificates
COPY kubeconform / COPY kubeconform /
ENTRYPOINT ["/kubeconform"] ENTRYPOINT ["/kubeconform"]