Files
prometheus-restic-backblaze/Dockerfile
Hannes Körber 7f5925d027
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Update to latest debian & prometheus python library
2024-04-27 15:45:32 +02:00

18 lines
417 B
Docker

FROM debian:bookworm
RUN : \
&& apt-get update \
&& apt-get install -y \
backblaze-b2 \
curl \
dumb-init \
python3 \
python3-prometheus-client \
python3-yaml \
restic \
&& apt-get -y clean
COPY ./restic-monitor.py /usr/local/bin/restic-monitor
CMD ["/usr/bin/dumb-init", "--", "/usr/local/bin/restic-monitor", "/etc/restic-backblaze-config.yml"]