1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-06-27 16:36:00 +00:00

Improve CONTRIBUTING guide

Also:

- update the docker-compose to use Alpine image (lighter)
- update the PHP Dockerfile to use Imagick instead of GD (for GIF support when downloading images) and add support for SQLite
This commit is contained in:
Jeremy Benoist 2019-06-19 14:54:38 +02:00
parent 3ed30d3415
commit 2a61e13fae
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 60 additions and 15 deletions

View file

@ -4,10 +4,25 @@ FROM php:7.2-fpm
ARG timezone='Europe/Paris'
RUN apt-get update && apt-get install -y \
libmcrypt-dev libicu-dev libpq-dev libxml2-dev libpng-dev libjpeg-dev \
&& /usr/local/bin/docker-php-ext-configure gd --with-jpeg-dir=/usr/include \
&& docker-php-ext-install \
iconv mbstring intl pdo pdo_mysql pdo_pgsql gd
libmcrypt-dev \
libicu-dev \
libpq-dev \
libxml2-dev \
libpng-dev \
libjpeg-dev \
libsqlite3-dev \
imagemagick \
libmagickwand-dev
RUN docker-php-ext-install \
iconv \
mbstring \
intl \
pdo \
pdo_mysql \
pdo_pgsql \
pdo_sqlite
RUN printf "\n" | pecl install imagick && docker-php-ext-enable imagick
RUN echo "date.timezone="$timezone > /usr/local/etc/php/conf.d/date_timezone.ini