mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-08 06:45:38 +00:00
Set entrypoint for Docker image
With this the image can be run without "yq" but directly passing arguments instead. This is a breaking change since existing commands will now fail due to "yq yq" being invalid. See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#entrypoint
This commit is contained in:
parent
086f0ec6b9
commit
a2b2b6fa79
@ -21,3 +21,4 @@ ARG VERSION=none
|
||||
LABEL version=${VERSION}
|
||||
|
||||
WORKDIR /workdir
|
||||
ENTRYPOINT ["/usr/bin/yq"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user