From a2b2b6fa79cdf9b5cc208b0f127723637bd60a4c Mon Sep 17 00:00:00 2001 From: Mathias Brodala Date: Fri, 19 Jun 2020 12:44:18 +0200 Subject: [PATCH] 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 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index d9a7866f..da9fac5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,3 +21,4 @@ ARG VERSION=none LABEL version=${VERSION} WORKDIR /workdir +ENTRYPOINT ["/usr/bin/yq"]