diff --git a/tests/Dockerfile b/tests/Dockerfile index a2f7cf271a..f9efb5f2fc 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -95,11 +95,22 @@ RUN yum install -y \ perl-Encode-Locale \ net-snmp \ net-snmp-utils \ + fontconfig \ + freetype \ + freetype-devel \ + fontconfig-devel \ + libstdc++ \ perl-Test-Simple; yum clean all; RUN wget http://rpmfind.net/linux/centos/6.9/os/i386/Packages/gettext-0.17-18.el6.i686.rpm; \ yum localinstall -y gettext-0.17-18.el6.i686.rpm; \ rm -rf gettext-0.17-18.el6.i686.rpm; +#Install phantomjs required for export graph pdf. +RUN mkdir -p /opt/phantomjs/bin && cd /opt/phantomjs/bin; \ + wget https://netcologne.dl.sourceforge.net/project/pandora/Tools%20and%20dependencies%20%28All%20versions%29/DEB%20Debian%2C%20Ubuntu/phantomjs; \ + chmod +x phantomjs; \ + ln -s /opt/phantomjs/bin/phantomjs /usr/bin/; + #Exposing ports for: HTTP, SNMP Traps, Tentacle protocol EXPOSE 80 162/udp 41121