certificates/autocert/renewer/Dockerfile

9 lines
268 B
Text
Raw Normal View History

2019-01-18 00:07:27 +00:00
FROM smallstep/step-cli:0.8.3
USER root
ENV CRT="/var/run/autocert.step.sm/site.crt"
ENV KEY="/var/run/autocert.step.sm/site.key"
ENV STEP_ROOT="/var/run/autocert.step.sm/root.crt"
2019-03-06 23:47:30 +00:00
ENTRYPOINT ["/bin/bash", "-c", "step ca renew --daemon --renew-period 2m $CRT $KEY"]