mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
14 lines
739 B
Docker
14 lines
739 B
Docker
FROM alpine:3.20.2 as certs
|
|
RUN apk add ca-certificates
|
|
|
|
FROM scratch AS kubeconform
|
|
LABEL org.opencontainers.image.authors="Yann Hamon <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/"
|
|
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
COPY kubeconform /
|
|
ENTRYPOINT ["/kubeconform"]
|