From ec01a97eb895286189939f59ce29489d5dafdff4 Mon Sep 17 00:00:00 2001 From: Daniel Jiang Date: Thu, 1 Nov 2018 22:25:55 -0700 Subject: [PATCH] Clair image should accept parms Update the entrypoint to allow the image accept other parms, to help debug in the future. If replace "$*" with "$@" only one parm will be passed to dumbinit Signed-off-by: Daniel Jiang --- make/photon/clair/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/photon/clair/docker-entrypoint.sh b/make/photon/clair/docker-entrypoint.sh index 6ed1c969c..c09a4f81e 100644 --- a/make/photon/clair/docker-entrypoint.sh +++ b/make/photon/clair/docker-entrypoint.sh @@ -1,4 +1,4 @@ #!/bin/bash set -e -sudo -E -H -u \#10000 sh -c "/dumb-init -- /clair/clair -config /etc/clair/config.yaml" +sudo -E -H -u \#10000 sh -c "/dumb-init -- /clair/clair -config /etc/clair/config.yaml $*" set +e