Browse Source

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

master
Alexander Demidov 4 years ago
parent
commit
f89b232d7b
  1. 2
      dockerfiles/php-fpm/php.base.Dockerfile

2
dockerfiles/php-fpm/php.base.Dockerfile

@ -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

Loading…
Cancel
Save