ContainersWorkspace/zabbix-agent/Dockerfile
2023-08-20 17:04:19 +02:00

8 lines
243 B
Docker

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