aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/php/Dockerfile
blob: c230bc44554428255a18dad819ae94b53dd66ffb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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 echo "date.timezone=Europe/Paris" > /usr/local/etc/php/conf.d/date_timezone.ini

RUN usermod -u 1000 www-data

CMD ["php-fpm"]