Aleksander Cynarski
af76d066c9
All checks were successful
continuous-integration/drone/push Build is passing
13 lines
336 B
Bash
Executable File
13 lines
336 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'`
|
|
|
|
if [ $PHP_VERSION = '74' ]; then
|
|
docker-php-ext-configure gd --with-freetype --with-jpeg
|
|
else
|
|
docker-php-ext-configure gd \
|
|
--with-freetype-dir=/usr/lib/ \
|
|
--with-png-dir=/usr/lib/ \
|
|
--with-jpeg-dir=/usr/lib/ \
|
|
--with-gd
|
|
fi |