mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
19 lines
No EOL
398 B
Bash
Executable file
19 lines
No EOL
398 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PHP=$(echo "$PHP_VERSION" | cut -c -3)
|
|
|
|
echo "php $PHP"
|
|
|
|
if [ "$PHP" = "7.2" ] || [ "$PHP" = "7.3" ]; then
|
|
docker-php-ext-configure gd \
|
|
--with-gd \
|
|
--with-jpeg-dir \
|
|
--with-png-dir \
|
|
--with-zlib-dir \
|
|
--with-freetype-dir
|
|
else
|
|
docker-php-ext-configure gd \
|
|
--enable-gd \
|
|
--with-jpeg \
|
|
--with-freetype
|
|
fi |