1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

fix: use an absolute path in docker entrypoint ()

With a relative path, containers started with a different working
directory will fail to find the entrypoint

Fixes: 
Signed-off-by: James Callahan <jamescallahan@bitgo.com>

Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
James Callahan 2022-07-26 17:16:01 +10:00 committed by GitHub
parent 9b41e2e017
commit 975a2a21fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions
cmd
cli/kubectl-kyverno
initContainer
kyverno

View file

@ -31,4 +31,4 @@ LABEL maintainer="Kyverno"
COPY --from=builder /output/kyverno /
ENTRYPOINT ["./kyverno"]
ENTRYPOINT ["/kyverno"]

View file

@ -32,4 +32,4 @@ LABEL maintainer="Kyverno"
COPY --from=builder /output/kyvernopre /
ENTRYPOINT ["./kyvernopre"]
ENTRYPOINT ["/kyvernopre"]

View file

@ -34,4 +34,4 @@ FROM ghcr.io/distroless/static:latest
LABEL maintainer="Kyverno"
COPY --from=builder /output/kyverno /
ENTRYPOINT ["./kyverno"]
ENTRYPOINT ["/kyverno"]