custom crontab
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paolo Asperti 2022-09-20 12:18:20 +02:00
parent 64c6cb7e4c
commit ff52dbda78
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -3,7 +3,8 @@ FROM alpine:3.16
COPY logrotate-cron /etc/logrotate.d
RUN \
mkdir /scripts /crontabs && \
apk -U add python3 py3-pip py3-requests py3-dateutil py3-beautifulsoup4 logrotate && \
pip3 install fdb mysql-connector-python==8.0.29 telepot caldav
ENTRYPOINT ["/usr/sbin/crond", "-f", "-d8", "-L", "/var/log/cron.log"]
ENTRYPOINT ["/usr/sbin/crond", "-f", "-d8", "-L", "/var/log/cron.log", "-c", "/crontabs"]