This commit is contained in:
rainer
2023-12-27 18:41:07 +01:00
commit 6db6f46311
2 changed files with 42 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM zabbix/zabbix-agent2:alpine-6.4.10
USER root
# force installation of python3 and pip3
RUN apk add --update --no-cache python3 py3-pip \
&& rm -rf /var/cache/apk/*
RUN pip3 install urbackup-server-web-api-wrapper
COPY urbackup-discovery.py /usr/local/bin
RUN chmod +x /usr/local/bin/urbackup-discovery.py