2023-10-29 12:00:38 +00:00
|
|
|
FROM docker.io/alpine:edge
|
2023-08-20 14:20:57 +00:00
|
|
|
|
2024-09-23 18:02:33 +00:00
|
|
|
RUN apk add smartmontools util-linux zabbix-agent2 zabbix-utils sudo nftables zabbix-agent2-plugin-postgresql && \
|
2023-08-20 14:20:57 +00:00
|
|
|
echo 'zabbix ALL=(ALL) NOPASSWD:/usr/sbin/smartctl' >> /etc/sudoers
|
|
|
|
|
2023-10-26 17:34:51 +00:00
|
|
|
# USER zabbix
|
|
|
|
USER root
|
2023-08-20 14:20:57 +00:00
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/sbin/zabbix_agent2", "-f" ]
|