aboutsummaryrefslogtreecommitdiffstats
path: root/build/test/nms-snmp-test.Dockerfile
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-05-10 20:34:39 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-05-10 20:34:39 +0200
commit14a761343c732b5c836aedac8a13771447a2bf8d (patch)
treee7ebb84a86222d1075483e03c096d57f1c45b5e3 /build/test/nms-snmp-test.Dockerfile
parenta762fcbc3a144fcd02352decdf0ab00677859fae (diff)
Tweak SNMP fetch tester
Diffstat (limited to 'build/test/nms-snmp-test.Dockerfile')
-rw-r--r--build/test/nms-snmp-test.Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/build/test/nms-snmp-test.Dockerfile b/build/test/nms-snmp-test.Dockerfile
new file mode 100644
index 0000000..f7bb30e
--- /dev/null
+++ b/build/test/nms-snmp-test.Dockerfile
@@ -0,0 +1,20 @@
+FROM debian:jessie
+RUN apt-get update
+RUN apt-get -y install \
+ libdata-dumper-simple-perl \
+ libdbd-pg-perl \
+ libdbi-perl \
+ libnet-oping-perl \
+ libsocket-perl \
+ libswitch-perl \
+ libtimedate-perl \
+ perl \
+ libjson-xs-perl \
+ libjson-perl \
+ perl-base \
+ snmpd \
+ libsnmp-perl \
+ perl-modules
+RUN mkdir -p /opt/nms
+COPY build/test/snmpd.conf /etc/snmp/
+CMD /opt/nms/build/test/snmpfetch-misc.sh