Public Repository

Last pushed: 10 months ago
Short Description
centos:latest / php7.x - Asia/Tokyo
Full Description

FROM centos:latest
RUN yum -y install yum-fastestmirror && \
yum -y install gcc kernel-devel kernel-headers make && \
yum -y install epel-release.noarch && \
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi && \
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm && \
yum -y install httpd && \
sed -i -e "s/AllowOverride None/AllowOverride All/" /etc/httpd/conf/httpd.conf && \
yum -y remove php* && \
yum -y install --enablerepo=remi,remi-php70,epel php php-opcache php-devel php-mbstring php-mcrypt php-phpseclib-crypt-blowfish php-pecl-apc php-gd php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-zip && \
sed -i -e "s|;date.timezone =|date.timezone = Asia/Tokyo|" /etc/php.ini && \
echo 'extends=zip.so' >> /etc/php.ini && \
yum -y update
EXPOSE 80
CMD ["/usr/sbin/httpd", "-D", "FOREGROUND"]

Docker Pull Command
Owner
ikumimashiba

Comments (0)