This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM zabbix/zabbix-server-pgsql:alpine-6.2-latest
|
||||
|
||||
USER root
|
||||
|
||||
# force installation of python3
|
||||
RUN apk add --update --no-cache python3 \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY tr064tool /usr/lib/zabbix/externalscripts
|
||||
|
||||
# 20220130: Beobachtet dass die Datei im Container nicht die notwendigen Berechtigungen hat,
|
||||
# dadurch hat das Zabbix-Plugin nicht funktioniert und keine Daten angezeigt.
|
||||
# Manuell im Container korrigiert, allerdings sollte das im Dockerfile gefixt werden
|
||||
# Voschlag (noch nicht erprobt):
|
||||
# RUN chmod 755 /usr/lib/zabbix/externalscripts/tr064tool
|
||||
|
||||
RUN chmod +x /usr/lib/zabbix/externalscripts/tr064tool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user