Paolo Asperti
febac4d60f
All checks were successful
continuous-integration/drone/push Build is passing
15 lines
355 B
Docker
15 lines
355 B
Docker
FROM alpine:3.16
|
|
|
|
COPY logrotate-cron /etc/logrotate.d
|
|
COPY entrypoint.sh /
|
|
|
|
RUN \
|
|
mkdir /scripts /crontabs && \
|
|
apk -U add python3 py3-pip py3-requests py3-dateutil py3-beautifulsoup4 logrotate tzdata && \
|
|
pip3 install fdb mysql-connector-python==8.0.29 telepot caldav
|
|
|
|
ENV CRONTAB=""
|
|
ENV TZ="Europe/Rome"
|
|
|
|
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
|