add php7 to Dockerfile

This commit is contained in:
daniel 2018-10-26 14:36:18 +02:00
parent 0b0bad8a73
commit fee15492fa
1 changed files with 17 additions and 7 deletions

View File

@ -7,6 +7,19 @@ RUN { \
echo 'baseurl = http://dl.fedoraproject.org/pub/epel/6/x86_64'; \ echo 'baseurl = http://dl.fedoraproject.org/pub/epel/6/x86_64'; \
echo 'enabled=1'; \ echo 'enabled=1'; \
echo 'gpgcheck=0'; \ echo 'gpgcheck=0'; \
echo ''; \
echo '[remi-php72]'; \
echo 'name=Remi php72'; \
echo 'baseurl=http://rpms.remirepo.net/enterprise/6/php72/x86_64/'; \
echo 'enabled=1'; \
echo 'gpgcheck=0'; \
echo ''; \
echo '[remi-safe]'; \
echo 'name=Safe Remis RPM repository'; \
echo 'mirrorlist=http://cdn.remirepo.net/enterprise/$releasever/safe/mirror'; \
echo 'enabled=1'; \
echo 'gpgcheck=0'; \
echo ''; \
} > /etc/yum.repos.d/extra_repos.repo } > /etc/yum.repos.d/extra_repos.repo
RUN { \ RUN { \
@ -19,9 +32,10 @@ RUN { \
RUN yum -y update; yum clean all; RUN yum -y update; yum clean all;
RUN yum --disablerepo=updates install -y firefox
# Generic dependencies # Generic dependencies
RUN yum install -y \ RUN yum install -y \
firefox \
python-pip \ python-pip \
xorg-x11-server-Xvfb; yum clean all; xorg-x11-server-Xvfb; yum clean all;
RUN pip install pyvirtualdisplay RUN pip install pyvirtualdisplay
@ -62,13 +76,10 @@ RUN yum install -y \
# Pandora FMS Server dependencies # Pandora FMS Server dependencies
RUN yum install -y \ RUN yum install -y \
git \
cronie \
ntp \ ntp \
wget \ vim \
htop \
nano \ nano \
curl \
xterm \
postfix \ postfix \
wmic \ wmic \
perl-HTML-Tree \ perl-HTML-Tree \
@ -93,7 +104,6 @@ RUN yum install -y \
perl-Time-HiRes \ perl-Time-HiRes \
perl-XML-Twig \ perl-XML-Twig \
perl-Encode-Locale \ perl-Encode-Locale \
net-snmp \
net-snmp-utils \ net-snmp-utils \
fontconfig \ fontconfig \
freetype \ freetype \