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
This commit is contained in:
Drew Wells
2020-12-04 18:27:57 -06:00
committed by GitHub
parent c63dfd6772
commit 9c421c7410

View File

@@ -17,4 +17,4 @@ FROM alpine
RUN apk add git openssh
COPY --from=builder /build/kustomize /app/
WORKDIR /app
ENTRYPOINT ["./kustomize"]
ENTRYPOINT ["/app/kustomize"]