]> git.immae.eu Git - github/wallabag/wallabag.git/blob - docker/php/Dockerfile
d0266ec74496274b7a4fd2c0c780659361982e1c
[github/wallabag/wallabag.git] / docker / php / Dockerfile
1 FROM php:fpm
2
3 # Default timezone. To change it, use the argument in the docker-compose.yml file
4 ARG timezone='Europe/Paris'
5
6 RUN apt-get update && apt-get install -y \
7 libmcrypt-dev libicu-dev libpq-dev libxml2-dev libpng-dev libjpeg-dev \
8 && /usr/local/bin/docker-php-ext-configure gd --with-jpeg-dir=/usr/include \
9 && docker-php-ext-install \
10 iconv mbstring intl pdo pdo_mysql pdo_pgsql gd
11
12 RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini
13
14 RUN usermod -u 1000 www-data
15
16 CMD ["php-fpm"]