ContainersWorkspace/zabbix-agent/Containerfile
Maciej Lebiest ffce0bb8a0
All checks were successful
Build images / build-images-amd64 (push) Successful in 12m49s
Build images / build-images-arm64 (push) Successful in 22m47s
Build images / update-images-manifests (push) Successful in 30s
add zabbix-agent2-plugin-postgresql to zabbix-agent
2024-09-23 20:02:33 +02:00

9 lines
288 B
Docker

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