2019-03-28 18:28:39 +00:00
|
|
|
FROM smallstep/step-cli:0.9.0
|
2018-11-15 01:53:17 +00:00
|
|
|
|
|
|
|
ARG BINPATH="bin/step-ca"
|
|
|
|
|
2019-03-27 02:00:13 +00:00
|
|
|
ENV CONFIGPATH="/home/step/config/ca.json"
|
2018-11-15 01:53:17 +00:00
|
|
|
ENV PWDPATH="/home/step/secrets/password"
|
|
|
|
|
|
|
|
COPY $BINPATH "/usr/local/bin/step-ca"
|
|
|
|
|
2019-03-27 02:00:13 +00:00
|
|
|
VOLUME ["/home/step"]
|
2018-11-15 01:53:17 +00:00
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
|
|
|
|
CMD exec /bin/sh -c "/usr/local/bin/step-ca --password-file $PWDPATH $CONFIGPATH"
|