From 6d791c4df27dc49eb8c1ef3c9406bd2b296435ac Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Tue, 25 Oct 2016 10:41:18 +0200 Subject: [PATCH] Added geckodriver to the testing docker image. (cherry picked from commit 714e7a7a8774f57d940fcbeaefebd32cce2725f8) --- tests/Dockerfile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/Dockerfile b/tests/Dockerfile index b43b9b7f22..2a26cfab48 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -57,7 +57,7 @@ RUN yum install -y \ nmap \ xprobe2 \ mysql-server \ - mysql + mysql; yum clean all; # Pandora FMS Server dependencies RUN yum install -y \ @@ -91,5 +91,15 @@ RUN yum install -y \ perl-XML-Twig \ perl-Encode-Locale \ net-snmp \ - net-snmp-utils + net-snmp-utils \ + perl-Test-Simple; yum clean all; +# Install geckodriver +RUN cd /tmp && \ +curl -o geckodriver.tgz -L https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz && \ +tar zxvf geckodriver.tgz && \ +mv geckodriver /usr/bin && \ +rm geckodriver.tgz + +#Exposing ports for: HTTP, SNMP Traps, Anytermd (SSH), Anytermd (Telnet), Tentacle protocol +EXPOSE 80 162/udp 8022 8023 41121