From dbe62143c26ebada5a4589c934e09be7a4ff8c5c Mon Sep 17 00:00:00 2001 From: ZoeKoch <37601017+ZoeKoch@users.noreply.github.com> Date: Wed, 26 Oct 2022 16:39:16 -0600 Subject: [PATCH] Copy kubeconform to /usr/bin/kubeconform Copy kubeconform directory to a directory that's in your PATH to avoid "kubeconform command not found" errors. --- Dockerfile-alpine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile-alpine b/Dockerfile-alpine index d82bbf30..276ca24e 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -8,5 +8,5 @@ LABEL org.opencontainers.image.authors="yann@mandragor.org" \ org.opencontainers.image.url="https://github.com/yannh/kubeconform/" MAINTAINER Yann HAMON RUN apk add ca-certificates -COPY kubeconform / -ENTRYPOINT ["/kubeconform"] +COPY kubeconform ./usr/bin/kubeconform +ENTRYPOINT ["kubeconform"]