ContainersWorkspace/zabbix-agent/Containerfile
Maciej Lebiest c44e2ebb2a
Some checks failed
Build images / build-images-arm64 (push) Failing after 24m27s
Build images / build-images-amd64 (push) Failing after 17m54s
Build images / update-images-manifests (push) Has been skipped
add nftables to zabbix image
2024-06-20 16:45:48 +02:00

9 lines
256 B
Docker

FROM docker.io/alpine:edge
RUN apk add smartmontools util-linux zabbix-agent2 zabbix-utils sudo nftables && \
echo 'zabbix ALL=(ALL) NOPASSWD:/usr/sbin/smartctl' >> /etc/sudoers
# USER zabbix
USER root
ENTRYPOINT [ "/usr/sbin/zabbix_agent2", "-f" ]