8 lines
268 B
Docker
8 lines
268 B
Docker
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"
|
|
|
|
ENTRYPOINT ["/bin/bash", "-c", "step ca renew --daemon --renew-period 2m $CRT $KEY"]
|