Change HEALTHCHECK
to use step ca health
. Change shell CMD exec
to skip redundant /bin/sh -c
This commit is contained in:
parent
6ffc438ed1
commit
3b31c6d2f5
1 changed files with 2 additions and 2 deletions
|
@ -22,6 +22,6 @@ ENV PWDPATH="/home/step/secrets/password"
|
|||
|
||||
VOLUME ["/home/step"]
|
||||
STOPSIGNAL SIGTERM
|
||||
HEALTHCHECK CMD curl --cacert /home/step/certs/root_ca.crt -sSf https://localhost/health >/dev/null || exit 1
|
||||
HEALTHCHECK CMD step ca health 2>/dev/null | grep "^ok" >/dev/null
|
||||
|
||||
CMD exec /bin/sh -c "/usr/local/bin/step-ca --password-file $PWDPATH $CONFIGPATH"
|
||||
CMD exec /usr/local/bin/step-ca --password-file $PWDPATH $CONFIGPATH
|
||||
|
|
Loading…
Reference in a new issue