From a699d0d06feeb1859efea16dd6b3df17901a1bc5 Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 03:17:46 +0100 Subject: modif des services et ajout de memcache, apache et nodejs --- Services/php/Dockerfile | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'Services/php/Dockerfile') diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile index fe2e8ca..730c4af 100644 --- a/Services/php/Dockerfile +++ b/Services/php/Dockerfile @@ -1,13 +1,15 @@ -FROM startx/fedora +FROM startx/sv-apache MAINTAINER Chistophe LARUE -RUN yum -y update && yum clean all -RUN yum -y install httpd php php-pecl-mongo php-cli php-pear php-gd php-google-apiclient php-pecl-zip php-mcrypt php-tcpdf php-xml-5.5.18-1.fc20 php-mysqlnd php-soap php-pecl-jsonc php-pecl-xdebug php-pdo php-process php-common php-mbstring && yum clean all -ADD welcome_apache.html /var/www/html/index.html - -EXPOSE 80 - -# avoid some issues observed with container restart -RUN rm -rf /run/httpd/* - -ENTRYPOINT ["/usr/sbin/apachectl", "-D FOREGROUND"] \ No newline at end of file +WORKDIR /src +RUN yum -y install php php-pecl-mongo php-cli php-pear \ + php-gd php-mcrypt php-mysqlnd php-soap php-pecl-xdebug \ + php-pdo php-process php-common php-mbstring \ + php-bcmath php-pecl-zip php-php-gettext php-tcpdf \ + php-tcpdf-dejavu-sans-fonts php-tidy \ + && yum clean all \ + && rm -rf /var/www/html \ + && ln -s /src /var/www/html +ADD index.php /src/index.php + +CMD ["/bin/apache_run.sh"] \ No newline at end of file -- cgit v1.2.3