Added mibs into container & fixed alpine version
This commit is contained in:
parent
66b14c90dd
commit
0606754238
@ -1,11 +1,8 @@
|
||||
FROM alpine:latest
|
||||
FROM alpine:3.8
|
||||
MAINTAINER David Chidell (dchidell@cisco.com)
|
||||
|
||||
RUN apk --no-cache add net-snmp
|
||||
RUN echo 'disableAuthorization yes' > /etc/snmp/snmptrapd.conf
|
||||
|
||||
ADD mibs.tar.gz /mibs/
|
||||
ADD snmptrapd.conf /etc/snmp/snmptrapd.conf
|
||||
EXPOSE 162
|
||||
|
||||
VOLUME ["/mibs"]
|
||||
|
||||
CMD ["snmptrapd","-L","o","-f","-M","/mibs","-m","ALL"]
|
||||
|
BIN
mibs.tar.gz
Normal file
BIN
mibs.tar.gz
Normal file
Binary file not shown.
1
snmptrapd.conf
Normal file
1
snmptrapd.conf
Normal file
@ -0,0 +1 @@
|
||||
disableAuthorization yes
|
Loading…
x
Reference in New Issue
Block a user