* correctly gd install for php7.4 with freetype, jpeg and webp

This commit is contained in:
2021-04-13 17:09:20 +03:00
parent 9f0f96a499
commit f89b232d7b

View File

@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y \
libpng-dev \
libwebp-dev \
&& docker-php-ext-install -j$(nproc) iconv \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include/ \
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install mysqli \
&& docker-php-ext-enable mysqli