[blogs-web/oscp] Make use of SCL directly as the httpd image ships with the SCL repositories enabled by default



commit efc481883d21a915613863b90f6a2faf52701011
Author: Andrea Veri <averi redhat com>
Date:   Sat Nov 10 21:01:22 2018 +0100

    Make use of SCL directly as the httpd image ships with the SCL repositories enabled by default

 Dockerfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 60f921a..bc2167c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,8 +3,7 @@ FROM centos/httpd-24-centos7
 USER root
 
 RUN yum install -y epel-release && yum update -y
-RUN rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
-RUN yum install php71-php php71-php-cli php71-php-common php71-php-curl php71-php-gd php71-php-intl 
php71-php-json php71-php-mbstring php71-php-mcrypt php71-php-mysql php71-php-opcache php71-php-readline 
php71-php-soap php71-php-xml php71-php-xmlrpc php71-php-zip -y
+RUN yum install rh-php71-php rh-php71-php-cli rh-php71-php-common rh-php71-php-curl rh-php71-php-gd 
rh-php71-php-intl rh-php71-php-json rh-php71-php-mbstring rh-php71-php-mcrypt rh-php71-php-mysqlnd 
rh-php71-php-opcache rh-php71-php-readline rh-php71-php-soap rh-php71-php-xml rh-php71-php-xmlrpc 
rh-php71-php-zip
 
 RUN mkdir -p /srv/http/blogs.gnome.org/html
 RUN chown 1001:1001 -R /srv/http/blogs.gnome.org/html 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]