* correctly gd install for php7.4 with freetype, jpeg and webp
This commit is contained in:
@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libpng-dev \
|
libpng-dev \
|
||||||
libwebp-dev \
|
libwebp-dev \
|
||||||
&& docker-php-ext-install -j$(nproc) iconv \
|
&& 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 -j$(nproc) gd \
|
||||||
&& docker-php-ext-install mysqli \
|
&& docker-php-ext-install mysqli \
|
||||||
&& docker-php-ext-enable mysqli
|
&& docker-php-ext-enable mysqli
|
||||||
|
Reference in New Issue
Block a user