Skip to content

Commit

Permalink
Remove deprecated Maintainer tag in Dockerfile (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
yannh authored May 9, 2024
1 parent ad166c7 commit 71a59d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ FROM alpine:3.18.3 as certs
RUN apk add ca-certificates

FROM scratch AS kubeconform
LABEL org.opencontainers.image.authors="[email protected]" \
LABEL org.opencontainers.image.authors="Yann Hamon <[email protected]>" \
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 <[email protected]>
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY kubeconform /
ENTRYPOINT ["/kubeconform"]
3 changes: 1 addition & 2 deletions Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM alpine:3.18.3
LABEL org.opencontainers.image.authors="[email protected]" \
LABEL org.opencontainers.image.authors="Yann Hamon <[email protected]>" \
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 <[email protected]>
RUN apk add ca-certificates
COPY kubeconform /
ENTRYPOINT ["/kubeconform"]

0 comments on commit 71a59d7

Please sign in to comment.