add phantomjs to docker
This commit is contained in:
parent
c97530a4ee
commit
e7cbd4604e
|
@ -95,11 +95,22 @@ RUN yum install -y \
|
||||||
perl-Encode-Locale \
|
perl-Encode-Locale \
|
||||||
net-snmp \
|
net-snmp \
|
||||||
net-snmp-utils \
|
net-snmp-utils \
|
||||||
|
fontconfig \
|
||||||
|
freetype \
|
||||||
|
freetype-devel \
|
||||||
|
fontconfig-devel \
|
||||||
|
libstdc++ \
|
||||||
perl-Test-Simple; yum clean all;
|
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; \
|
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; \
|
yum localinstall -y gettext-0.17-18.el6.i686.rpm; \
|
||||||
rm -rf 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
|
#Exposing ports for: HTTP, SNMP Traps, Tentacle protocol
|
||||||
EXPOSE 80 162/udp 41121
|
EXPOSE 80 162/udp 41121
|
||||||
|
|
Loading…
Reference in New Issue