aboutsummaryrefslogtreecommitdiffstats
path: root/build/test
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-04-13 22:54:11 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-04-13 22:54:11 +0200
commit10f841f10b0ec4442a19819ffaf8bc7761657d83 (patch)
treee486e6bbdc78f7b3f76703da884c891fb1f54c71 /build/test
parent8df01abbeec9fd0de80b89e1f1f893b6e414cd7e (diff)
ping: Don't break with zero switches
Diffstat (limited to 'build/test')
-rw-r--r--build/test/nms-collector-test.Dockerfile15
1 files changed, 14 insertions, 1 deletions
diff --git a/build/test/nms-collector-test.Dockerfile b/build/test/nms-collector-test.Dockerfile
index f7e7441..04f7a59 100644
--- a/build/test/nms-collector-test.Dockerfile
+++ b/build/test/nms-collector-test.Dockerfile
@@ -1,4 +1,17 @@
FROM debian:jessie
RUN apt-get update && apt-get install -y git-core
-RUN git clone https://github.com/tech-server/tgnms
+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 \
+ perl-modules
+RUN git clone https://github.com/tech-server/tgnms /opt/nms
CMD /opt/nms/collectors/ping.pl