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:
Mathias Brodala 2020-06-19 12:44:18 +02:00 committed by GitHub
parent 086f0ec6b9
commit a2b2b6fa79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,3 +21,4 @@ ARG VERSION=none
LABEL version=${VERSION}
WORKDIR /workdir
ENTRYPOINT ["/usr/bin/yq"]