2022-09-20 09:09:47 +00:00
|
|
|
FROM alpine:3.16
|
2022-09-20 09:23:37 +00:00
|
|
|
|
|
|
|
COPY logrotate-cron /etc/logrotate.d
|
|
|
|
|
2022-09-20 09:09:47 +00:00
|
|
|
RUN \
|
2022-09-20 09:23:37 +00:00
|
|
|
apk -U add python3 py3-pip py3-requests py3-dateutil py3-beautifulsoup4 logrotate && \
|
2022-09-20 09:09:47 +00:00
|
|
|
pip3 install fdb mysql-connector-python==8.0.29 telepot caldav
|
|
|
|
|
2022-09-20 09:23:37 +00:00
|
|
|
ENTRYPOINT ["/usr/sbin/crond", "-f", "-d8", "-L", "/var/log/cron.log"]
|