diff options
Diffstat (limited to 'Services/php/Dockerfile')
-rw-r--r-- | Services/php/Dockerfile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile index d1a8beb..5af160a 100644 --- a/Services/php/Dockerfile +++ b/Services/php/Dockerfile @@ -1,5 +1,13 @@ +FROM startx/fedora +MAINTAINER Chistophe LARUE <dev@startx.fr> +RUN yum -y update && yum clean all +RUN yum -y install httpd php php-* && yum clean all +ADD welcome_apache.html /var/www/html/index.html -FROM tutum/apache-php:latest -MAINTAINER startx dev@startx.fr +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 |