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