RUN yum -y install epel-release \ && rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm \ && yum -y --enablerepo=remi,remi-php71 install httpd mod_ssl mysql-devel mysql-libs php php-cli php-mbstring php-mcrypt php-xml php-pdo php-mysqlnd php- opcache php-pecl-apcu \ && yum clean all \ && rm -rf /var/cache/yum/* EXPOSE 80 443 CMD /usr/sbin/httpd -DFOREGROUND