mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-13 15:24:48 -06:00
Merge branch 'main' into develop
This commit is contained in:
commit
93c88333a6
10
Dockerfile
10
Dockerfile
@ -1,16 +1,8 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM python:3.12-alpine
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/TheNetworkGuy/netbox-zabbix-sync
|
||||
LABEL org.opencontainers.image.title="NetBox-Zabbix-Sync"
|
||||
LABEL org.opencontainers.image.description="Python script to synchronise NetBox devices to Zabbix."
|
||||
LABEL org.opencontainers.image.documentation=https://github.com/TheNetworkGuy/netbox-zabbix-sync/
|
||||
LABEL org.opencontainers.image.licenses=MIT
|
||||
LABEL org.opencontainers.image.authors="Twan Kamans"
|
||||
|
||||
USER 1000:1000
|
||||
|
||||
RUN mkdir -p /opt/netbox-zabbix
|
||||
USER 1000:1000
|
||||
COPY --chown=1000:1000 . /opt/netbox-zabbix
|
||||
WORKDIR /opt/netbox-zabbix
|
||||
RUN if ! [ -f ./config.py ]; then cp ./config.py.example ./config.py; fi
|
||||
|
Loading…
Reference in New Issue
Block a user