ContainersWorkspace/zabbix-agent/Dockerfile
2023-10-29 13:00:38 +01:00

9 lines
253 B
Docker

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