From 9c421c74101166a9c3c6b7010d40b1170a64b0db Mon Sep 17 00:00:00 2001 From: Drew Wells Date: Fri, 4 Dec 2020 18:27:57 -0600 Subject: [PATCH] absolute path to entrypoint Make the kustomize container tolerant of alternative working directory. Mounting my project and making it the working directory will now work. ie. docker run -w /pkg -v $(shell pwd):/pkg kustomize version --- kustomize.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kustomize.Dockerfile b/kustomize.Dockerfile index 04e633dc3..3685a727b 100644 --- a/kustomize.Dockerfile +++ b/kustomize.Dockerfile @@ -17,4 +17,4 @@ FROM alpine RUN apk add git openssh COPY --from=builder /build/kustomize /app/ WORKDIR /app -ENTRYPOINT ["./kustomize"] +ENTRYPOINT ["/app/kustomize"]