FROM startx/sv-apache MAINTAINER Christophe LARUE 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"]