Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| aab1c21920 | |||
| a247563585 | |||
| b820bba875 |
10
Dockerfile
10
Dockerfile
@@ -1,12 +1,16 @@
|
|||||||
FROM zabbix/zabbix-agent2:alpine-6.4.10
|
FROM zabbix/zabbix-agent2:alpine-6.4.21
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
# force installation of python3 and pip3
|
# force installation of python3 and pip3
|
||||||
RUN apk add --update --no-cache python3 py3-pip \
|
RUN apk add --update --no-cache \
|
||||||
|
python3 py3-pip \
|
||||||
|
iperf3 jq \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
RUN pip3 install urbackup-server-web-api-wrapper
|
RUN pip3 install \
|
||||||
|
urbackup-server-web-api-wrapper \
|
||||||
|
--break-system-packages
|
||||||
|
|
||||||
COPY urbackup-discovery.py /usr/local/bin
|
COPY urbackup-discovery.py /usr/local/bin
|
||||||
RUN chmod +x /usr/local/bin/urbackup-discovery.py
|
RUN chmod +x /usr/local/bin/urbackup-discovery.py
|
||||||
|
|||||||
Reference in New Issue
Block a user