Zabbix 7.4 compatibility tests (#2053)

* Resolves issue (#2051)
This commit is contained in:
Christos Diamantis
2025-07-09 16:44:17 +03:00
committed by GitHub
parent e65793f3be
commit 04ef3774b0
7 changed files with 1268 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
FROM python:3.13-slim-bookworm
ENV ZBX_API_URL=http://zabbix-web:8080
ENV ZBX_API_USER="Admin"
ENV ZBX_API_PASSWORD="zabbix"
ENV ZBX_CONFIG="zbx_export_hosts.json"
ENV ZBX_BOOTSTRAP_SCRIPT="bootstrap_config.py"
RUN pip install zabbix_utils
ADD ./bootstrap_config.py /bootstrap_config.py
ADD ${ZBX_CONFIG} /${ZBX_CONFIG}
WORKDIR /
# Run bootstrap_config.py when the container launches
CMD ["python", "/bootstrap_config.py"]