10 lines
192 B
Docker
10 lines
192 B
Docker
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
|
|
|
|
CMD [ "/usr/sbin/snmpd", "-fD" ]
|