|
|
@ -24,6 +24,7 @@ USER step
|
|
|
|
|
|
|
|
|
|
|
|
ENV CONFIGPATH="/home/step/config/ca.json"
|
|
|
|
ENV CONFIGPATH="/home/step/config/ca.json"
|
|
|
|
ENV PWDPATH="/home/step/secrets/password"
|
|
|
|
ENV PWDPATH="/home/step/secrets/password"
|
|
|
|
|
|
|
|
ENV PROVISIONER_PWDPATH="/home/step/secrets/provisioner_password"
|
|
|
|
|
|
|
|
|
|
|
|
VOLUME ["/home/step"]
|
|
|
|
VOLUME ["/home/step"]
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
@ -32,4 +33,4 @@ HEALTHCHECK CMD step ca health 2>/dev/null | grep "^ok" >/dev/null
|
|
|
|
COPY docker/entrypoint.sh /entrypoint.sh
|
|
|
|
COPY docker/entrypoint.sh /entrypoint.sh
|
|
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
|
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
|
|
|
CMD exec /usr/local/bin/step-ca --password-file $PWDPATH $CONFIGPATH
|
|
|
|
CMD exec /usr/local/bin/step-ca --password-file $PWDPATH --provisioner-password-file $PROVISIONER_PWDPATH $CONFIGPATH
|
|
|
|