summaryrefslogtreecommitdiffstats
path: root/Services/php/Dockerfile
blob: ca945ee5e43b450c24a99c043c2a212670bc551e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM startx/sv-apache
MAINTAINER Christophe LARUE <dev@startx.fr>

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
COPY index.php /src/index.php

CMD ["/bin/apache_run.sh"]