jpeg, remove 7.2 support
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2021-10-09 22:03:41 +02:00
parent 6270d0d262
commit 682480a244
3 changed files with 23 additions and 19 deletions

View File

@ -27,7 +27,11 @@ h1 "Configure PHP modules"
case $PHP_VERSION in
'80' )
h2 "Configure GD"
docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
docker-php-ext-configure gd \
--with-freetype-dir=/usr/lib/ \
--with-png-dir=/usr/lib/ \
--with-jpeg-dir=/usr/lib/ \
--with-gd
;;
'74' )
h2 "Configure GD"

View File

@ -1,5 +1,5 @@
#!/bin/sh
if [ -f /var/www/override.ini ]; then
if [ -f /var/www/override.ini && -f /usr/local/etc/php/conf.d/02-project-override.ini ]; then
ln -s /var/www/override.ini /usr/local/etc/php/conf.d/02-project-override.ini
fi