Revert "Prevent timeouts when installing deps."

This reverts commit 931c0dea60.
This commit is contained in:
Ramon Novoa 2016-05-20 09:39:00 +02:00
parent c4caf668c1
commit d02fec16ee
1 changed files with 78 additions and 73 deletions

View File

@ -2,89 +2,94 @@ FROM centos:centos6
MAINTAINER Pandora FMS Team <info@pandorafms.com>
RUN { \
echo '[EPEL]'; \
echo 'name = CentOS Epel'; \
echo 'baseurl = http://dl.fedoraproject.org/pub/epel/6/x86_64'; \
echo 'enabled=1'; \
echo 'gpgcheck=0'; \
echo '[EPEL]'; \
echo 'name = CentOS Epel'; \
echo 'baseurl = http://dl.fedoraproject.org/pub/epel/6/x86_64'; \
echo 'enabled=1'; \
echo 'gpgcheck=0'; \
} > /etc/yum.repos.d/extra_repos.repo
RUN { \
echo '[artica_pandorafms]'; \
echo 'name=CentOS6 - PandoraFMS official repo'; \
echo 'baseurl=http://artica.es/centos6'; \
echo 'gpgcheck=0'; \
echo 'enabled=1'; \
echo '[artica_pandorafms]'; \
echo 'name=CentOS6 - PandoraFMS official repo'; \
echo 'baseurl=http://artica.es/centos6'; \
echo 'gpgcheck=0'; \
echo 'enabled=1'; \
} > /etc/yum.repos.d/pandorafms.repo
RUN yum -y update; yum clean all;
# Generic dependencies
RUN yum install -y firefox
RUN yum install -y python-pip
RUN yum install -y xorg-x11-server-Xvfb
RUN yum install -y \
firefox
python-pip
xorg-x11-server-Xvfb
RUN pip install pyvirtualdisplay
RUN pip install selenium
# Pandora FMS Console dependencies
RUN yum install -y git
RUN yum install -y httpd
RUN yum install -y cronie
RUN yum install -y ntp
RUN yum install -y openldap
RUN yum install -y anytermd
RUN yum install -y nfdump
RUN yum install -y wget
RUN yum install -y curl
RUN yum install -y openldap
RUN yum install -y plymouth
RUN yum install -y xterm
RUN yum install -y php
RUN yum install -y php-gd
RUN yum install -y graphviz
RUN yum install -y php-mysql
RUN yum install -y php-pear-DB
RUN yum install -y php-pear
RUN yum install -y php-pdo
RUN yum install -y php-mbstring
RUN yum install -y php-ldap
RUN yum install -y php-snmp
RUN yum install -y php-ldap
RUN yum install -y php-common
RUN yum install -y php-zip
RUN yum install -y nmap
RUN yum install -y xprobe2
RUN yum install -y mysql-server
RUN yum install -y mysql
RUN yum install -y \
git \
httpd \
cronie \
ntp \
openldap \
anytermd \
nfdump \
wget \
curl \
openldap \
plymouth \
xterm \
php \
php-gd \
graphviz \
php-mysql \
php-pear-DB \
php-pear \
php-pdo \
php-mbstring \
php-ldap \
php-snmp \
php-ldap \
php-common \
php-zip \
nmap \
xprobe2 \
mysql-server \
mysql
# Pandora FMS Server dependencies
RUN yum install -y git
RUN yum install -y cronie
RUN yum install -y ntp
RUN yum install -y wget
RUN yum install -y curl
RUN yum install -y xterm
RUN yum install -y postfix
RUN yum install -y wmic
RUN yum install -y perl-HTML-Tree
RUN yum install -y perl-DBI
RUN yum install -y perl-DBD-mysql
RUN yum install -y perl-libwww-perl
RUN yum install -y perl-XML-Simple
RUN yum install -y perl-XML-SAX
RUN yum install -y perl-NetAddr-IP
RUN yum install -y net-snmp
RUN yum install -y net-tools
RUN yum install -y perl-IO-Socket-INET6
RUN yum install -y perl-Socket6
RUN yum install -y nmap
RUN yum install -y sudo
RUN yum install -y xprobe2
RUN yum install -y make
RUN yum install -y perl-CPAN
RUN yum install -y perl-JSON
RUN yum install -y net-snmp-perl
RUN yum install -y perl-Time-HiRes
RUN yum install -y perl-XML-Twig
RUN yum install -y perl-Encode-Locale
RUN yum install -y net-snmp
RUN yum install -y net-snmp-utils
RUN yum install -y \
git \
cronie \
ntp \
wget \
curl \
xterm \
postfix \
wmic \
perl-HTML-Tree \
perl-DBI \
perl-DBD-mysql \
perl-libwww-perl \
perl-XML-Simple \
perl-XML-SAX \
perl-NetAddr-IP \
net-snmp \
net-tools \
perl-IO-Socket-INET6 \
perl-Socket6 \
nmap \
sudo \
xprobe2 \
make \
perl-CPAN \
perl-JSON \
net-snmp-perl \
perl-Time-HiRes \
perl-XML-Twig \
perl-Encode-Locale \
net-snmp \
net-snmp-utils