hassio-addons/snmpd/Dockerfile

10 lines
192 B
Docker
Raw Normal View History

2018-11-08 21:46:54 +00:00
ARG BUILD_FROM
FROM $BUILD_FROM
ENV LANG C.UTF-8
RUN apk add --no-cache net-snmp
RUN sed -i 's/^agentAddress.*/agentAddress udp:161/' /etc/snmp/snmpd.conf
2018-11-08 21:50:32 +00:00
CMD [ "/usr/sbin/snmpd", "-fD" ]