Copy kubeconform to /usr/bin/kubeconform

Copy kubeconform directory to a directory that's in your PATH to avoid "kubeconform command not found" errors.
This commit is contained in:
ZoeKoch 2022-10-26 16:39:16 -06:00 committed by GitHub
parent a31707ca58
commit dbe62143c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,5 +8,5 @@ LABEL org.opencontainers.image.authors="yann@mandragor.org" \
org.opencontainers.image.url="https://github.com/yannh/kubeconform/"
MAINTAINER Yann HAMON <yann@mandragor.org>
RUN apk add ca-certificates
COPY kubeconform /
ENTRYPOINT ["/kubeconform"]
COPY kubeconform ./usr/bin/kubeconform
ENTRYPOINT ["kubeconform"]