ContainersWorkspace/zabbix-agent/Dockerfile

9 lines
243 B
Text
Raw Normal View History

2023-08-20 14:20:57 +00:00
FROM docker.io/alpine:latest
2023-08-20 15:04:19 +00:00
RUN apk add smartmontools util-linux zabbix-agent2 zabbix-utils sudo fping && \
2023-08-20 14:20:57 +00:00
echo 'zabbix ALL=(ALL) NOPASSWD:/usr/sbin/smartctl' >> /etc/sudoers
USER zabbix
ENTRYPOINT [ "/usr/sbin/zabbix_agent2", "-f" ]