FROM debian:bullseye-slim COPY logrotate-cron /etc/logrotate.d COPY entrypoint.sh / RUN \ mkdir /scripts /crontabs && \ apt update && \ DEBIAN_FRONTEND=noninteractive apt -y upgrade && \ DEBIAN_FRONTEND=noninteractive apt -y install wget python3 python3-pip python3-dateutil python3-requests python3-bs4 logrotate unzip tzdata && \ pip3 install fdb mysql-connector-python==8.0.29 telepot caldav && \ wget -O /tmp/bw.zip 'https://vault.bitwarden.com/download/?app=cli&platform=linux' && \ unzip /tmp/bw.zip -d /usr/local/bin && \ chmod +x /usr/local/bin/bw && \ rm /tmp/bw.zip ENV CRONTAB="" ENV TZ="Europe/Rome" ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]