2021-11-24 04:44:28 +00:00
|
|
|
FROM smallstep/step-cli
|
2018-11-10 01:27:36 +00:00
|
|
|
|
2021-11-24 04:44:28 +00:00
|
|
|
USER root
|
2018-11-10 01:27:36 +00:00
|
|
|
RUN mkdir -p /var/local/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"]
|