Merge pull request #6203 from reasonerjt/clair-parm

Clair image should accept parms
This commit is contained in:
Daniel Jiang 2018-11-02 14:36:39 +08:00 committed by GitHub
commit 47c882c215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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