docker-cron/Dockerfile

10 lines
342 B
Docker
Raw Normal View History

2019-07-02 14:19:42 +00:00
FROM debian:buster
2019-02-03 20:52:11 +00:00
MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Europe/Paris
2020-02-26 21:21:33 +00:00
RUN apt-get update && apt-get -y install docker.io python3 virtualenv
WORKDIR /root
RUN virtualenv -p python3 yacronenv
RUN yacronenv/bin/pip install yacron
ENTRYPOINT ["/root/yacronenv/bin/yacron", "-c", "/root/crontab.yaml"]