Update Dockerfile (#348)
fix GD parameters for php 7.4 (https://github.com/docker-library/php/issues/931)
This commit is contained in:
parent
4e297f63a8
commit
e0ff93a64d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue