15 lines
481 B
Docker
15 lines
481 B
Docker
ARG BUILD_FROM=ghcr.io/hassio-addons/debian-base/amd64
|
|
ARG BUILD_ARCH=amd64
|
|
|
|
FROM ${BUILD_FROM}
|
|
|
|
RUN apt-get update && apt-get install -y wget
|
|
RUN wget https://repo.zabbix.com/zabbix/6.5/debian/pool/main/z/zabbix-release/zabbix-release_6.5-1+debian12_all.deb && dpkg -i zabbix-release_6.5-1+debian12_all.deb
|
|
|
|
RUN apt-get update && apt-get install -y zabbix-agent2 zabbix-agent2-plugin-*
|
|
RUN usermod -aG docker zabbix
|
|
|
|
COPY rootfs /
|
|
|
|
RUN chmod a+x /etc/services.d/zabbix-agent2/run
|