certificates/examples/docker/renewer/Dockerfile
2018-11-09 17:27:36 -08:00

10 lines
258 B
Docker

FROM alpine:latest
RUN mkdir -p /var/local/step
ADD step /usr/local/bin/step
ADD crontab /var/spool/cron/crontabs/root
RUN chmod 0644 /var/spool/cron/crontabs/root
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/usr/sbin/crond", "-l", "2", "-f"]