CentOS + Apache + PHP 5.6 + PHPUnit
465
# docker build -t tireintel/apache-php:5.0 .
# docker run -ti -p 80:80 --name=apache-php tireintel/apache-php:5.0
FROM centos:6.6
MAINTAINER Hemerson Varela "[email protected]"
# APACHE
RUN yum install -y httpd-2.2.15-45.el6.centos
# PHP 5.6
RUN rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
RUN yum install -y php56w \
php56w-mysql \
php56w-xml \
php56w-pecl-memcached.x86_64 \
php56w-mcrypt.x86_64
# PHPUnit
RUN yum install -y wget
WORKDIR ~
RUN wget https://phar.phpunit.de/phpunit.phar
RUN chmod +x phpunit.phar
RUN mv phpunit.phar /usr/local/bin/phpunit
# CLEAN UP
RUN yum clean all
EXPOSE 80
ENTRYPOINT ["/usr/sbin/httpd"]
CMD ["-D", "FOREGROUND"]
Content type
Unrecognized
Digest
Size
130.6 MB
Last updated
about 10 years ago
docker pull tireintel/apache-php:5.0