summaryrefslogtreecommitdiffstats
path: root/Services/php/Dockerfile
blob: 730c4af49f186f3b213e1b968982570525344fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM startx/sv-apache
MAINTAINER Chistophe 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"]