fix gd php 8
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aleksander Cynarski 2021-10-10 13:04:07 +02:00
parent 9678116d0f
commit 20356998e3
Signed by: paramah
GPG Key ID: C4340BA42B9C173A

View File

@ -26,17 +26,14 @@ h2() {
h1 "Configure PHP modules" h1 "Configure PHP modules"
case $PHP_VERSION in case $PHP_VERSION in
'80' ) '80' )
h2 "Configure GD - 8.0" h2 "[php8] Configure GD"
docker-php-ext-configure gd \ docker-php-ext-configure gd \
--with-freetype-dir=/usr/lib/ \ --with-freetype \
--with-png-dir=/usr/lib/ \
--with-jpeg-dir=/usr/lib/ \
--with-gd \
--with-jpeg \ --with-jpeg \
--with-webp --with-webp
;; ;;
'74' ) '74' )
h2 "Configure GD" h2 "[php74] Configure GD"
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
h2 "Install json module" h2 "Install json module"
docker-php-ext-install -j$(nproc) json docker-php-ext-install -j$(nproc) json