summaryrefslogtreecommitdiffstats
path: root/Services/php/Dockerfile
blob: cca87cbfde3bdb1a92362fd4e6329692dee8c5e6 (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
ADD index.php /src/index.php

CMD ["/bin/apache_run.sh"]