21 lines
675 B
Docker
Raw Normal View History

2022-10-20 01:09:59 +02:00
FROM debian:bullseye-slim
2022-09-20 11:23:37 +02:00
COPY logrotate-cron /etc/logrotate.d
2022-09-20 12:53:35 +02:00
COPY entrypoint.sh /
2022-09-20 11:23:37 +02:00
2022-09-20 11:09:47 +02:00
RUN \
2022-09-20 12:18:20 +02:00
mkdir /scripts /crontabs && \
2022-10-20 01:09:59 +02:00
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
2022-09-20 11:09:47 +02:00
2022-09-20 12:53:35 +02:00
ENV CRONTAB=""
2022-09-21 08:38:29 +02:00
ENV TZ="Europe/Rome"
2022-09-20 12:53:35 +02:00
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]