Update Dockerfile (#348)

fix GD parameters for php 7.4 (https://github.com/docker-library/php/issues/931)
This commit is contained in:
Simon Smith 2020-08-16 16:24:43 +01:00 committed by GitHub
parent 4e297f63a8
commit e0ff93a64d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y \
libjpeg62-turbo-dev \
libpng-dev \
&& docker-php-ext-install -j$(nproc) iconv \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd
# Prepare files and folders