[connfa-web] Use yum instead



commit a85034605f1915efafe583512907e80b33f0e9d2
Author: Andrea Veri <averi redhat com>
Date:   Wed Jun 19 18:51:51 2019 +0200

    Use yum instead

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 23ba0a1..4fcdad9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 FROM centos/php-71-centos7
 
 USER root
-RUN yum -y install git && \
+RUN yum -y install git sclo-php71-php-pecl-redis sclo-php71-php-phpiredis && \
     rm -rf /var/cache/yum/* && yum clean all
 RUN wget 
https://raw.githubusercontent.com/composer/getcomposer.org/3c21a2c1affd88dd3fec6251e91a53e440bc2198/web/installer
 -O - -q | php -- --quiet --install-dir=/usr/bin/ --filename=composer
 RUN groupadd connfa -g 1000630000 && \
@@ -11,7 +11,7 @@ RUN install -dm750 -o connfa -g connfa /app
 USER connfa
 WORKDIR /app
 RUN git clone https://github.com/lemberg/connfa-integration-server connfa
-RUN cd connfa && composer install --no-interaction --no-suggest --no-dev && composer require predis/predis
+RUN cd connfa && composer install --no-interaction --no-suggest --no-dev
 COPY env /app/connfa/.env
 
 USER root


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