Update to latest debian & prometheus python library
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -1,24 +1,17 @@
|
||||
FROM debian:buster
|
||||
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
|
||||
|
||||
RUN : \
|
||||
&& curl -s -L -o /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64 \
|
||||
&& chmod +x /usr/local/bin/dumb-init
|
||||
|
||||
RUN : \
|
||||
&& curl -s -L https://github.com/restic/restic/releases/download/v0.9.6/restic_0.9.6_linux_amd64.bz2 \
|
||||
| bzip2 > /usr/local/bin/restic \
|
||||
&& chmod +x /usr/local/bin/restic
|
||||
|
||||
COPY ./restic-monitor.py /usr/local/bin/restic-monitor
|
||||
|
||||
CMD ["/usr/local/bin/dumb-init", "--", "/usr/local/bin/restic-monitor", "/etc/restic-backblaze-config.yml"]
|
||||
CMD ["/usr/bin/dumb-init", "--", "/usr/local/bin/restic-monitor", "/etc/restic-backblaze-config.yml"]
|
||||
|
||||
Reference in New Issue
Block a user