Moved to yacron.
This commit is contained in:
parent
b68f87b705
commit
3e98b9758b
@ -2,7 +2,8 @@ FROM debian:buster
|
|||||||
MAINTAINER yohan <783b8c87@scimetis.net>
|
MAINTAINER yohan <783b8c87@scimetis.net>
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
ENV TZ Europe/Paris
|
ENV TZ Europe/Paris
|
||||||
RUN apt-get update && apt-get -y install cron docker.io
|
RUN apt-get update && apt-get -y install docker.io python3 virtualenv
|
||||||
RUN rm -f /etc/crontab
|
WORKDIR /root
|
||||||
ENTRYPOINT ["/usr/sbin/cron", "-f", "-L", "15"]
|
RUN virtualenv -p python3 yacronenv
|
||||||
#ENTRYPOINT ["/bin/bash"]
|
RUN yacronenv/bin/pip install yacron
|
||||||
|
ENTRYPOINT ["/root/yacronenv/bin/yacron", "-c", "/root/crontab.yaml"]
|
||||||
|
Loading…
Reference in New Issue
Block a user