Add basic docker-compose configuration

This commit is contained in:
Fabien MEURILLON
2016-01-09 14:47:32 +01:00
parent 5ad863c63a
commit 540ef5e084
4 changed files with 119 additions and 0 deletions

10
docker/php/Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM php:fpm
RUN apt-get update && apt-get install -y \
libmcrypt-dev libicu-dev libpq-dev libxml2-dev \
&& docker-php-ext-install \
iconv mcrypt mbstring intl pdo pdo_mysql pdo_pgsql
RUN usermod -u 1000 www-data
CMD ["php-fpm"]