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 (#4263)
With a relative path, containers started with a different working directory will fail to find the entrypoint Fixes: #4252 Signed-off-by: James Callahan <jamescallahan@bitgo.com> Co-authored-by: shuting <shuting@nirmata.com>
This commit is contained in:
parent
9b41e2e017
commit
975a2a21fa
3 changed files with 3 additions and 3 deletions
cmd
|
@ -31,4 +31,4 @@ LABEL maintainer="Kyverno"
|
|||
|
||||
COPY --from=builder /output/kyverno /
|
||||
|
||||
ENTRYPOINT ["./kyverno"]
|
||||
ENTRYPOINT ["/kyverno"]
|
||||
|
|
|
@ -32,4 +32,4 @@ LABEL maintainer="Kyverno"
|
|||
COPY --from=builder /output/kyvernopre /
|
||||
|
||||
|
||||
ENTRYPOINT ["./kyvernopre"]
|
||||
ENTRYPOINT ["/kyvernopre"]
|
||||
|
|
|
@ -34,4 +34,4 @@ FROM ghcr.io/distroless/static:latest
|
|||
LABEL maintainer="Kyverno"
|
||||
COPY --from=builder /output/kyverno /
|
||||
|
||||
ENTRYPOINT ["./kyverno"]
|
||||
ENTRYPOINT ["/kyverno"]
|
||||
|
|
Loading…
Add table
Reference in a new issue