File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,24 +13,12 @@ function compile_gd()
1313{
1414 _gd_deps_build
1515
16- case " $VERSION " in
17- " 7.3" )
18- docker-php-ext-configure gd \
19- --with-gd \
20- --with-freetype-dir=/usr/include/ \
21- --with-png-dir=/usr/include/ \
22- --with-jpeg-dir=/usr/include/ \
23- --with-webp-dir=/usr/include/ \
24- --with-xpm-dir=/usr/include/
25- ;;
26- * )
27- docker-php-ext-configure gd \
28- --enable-gd \
29- --with-freetype \
30- --with-jpeg \
31- --with-webp \
32- --with-xpm
33- esac
16+ docker-php-ext-configure gd \
17+ --enable-gd \
18+ --with-freetype \
19+ --with-jpeg \
20+ --with-webp \
21+ --with-xpm
3422
3523 docker-php-ext-install gd
3624
Original file line number Diff line number Diff line change @@ -11,14 +11,5 @@ function install_protobuf()
1111
1212function compile_protobuf()
1313{
14- case " $VERSION " in
15- 7.* )
16- printf " \n" | pecl install protobuf-3.20.3
17- ;;
18- 8.0)
19- printf " \n" | pecl install protobuf-3.25.3
20- ;;
21- * )
22- printf " \n" | pecl install protobuf
23- esac
14+ printf " \n" | pecl install protobuf
2415}
Original file line number Diff line number Diff line change @@ -13,13 +13,5 @@ function compile_xdebug()
1313(
1414 set -o errexit -o pipefail
1515
16- case " $VERSION " in
17- 7.* )
18- XDEBUG_PACKAGE=" xdebug-2.9.8"
19- printf " \n" | pecl install " $XDEBUG_PACKAGE "
20- ;;
21- * )
22- XDEBUG_PACKAGE=" xdebug"
23- printf " \n" | pecl install " $XDEBUG_PACKAGE "
24- esac
16+ printf " \n" | pecl install xdebug
2517)
Original file line number Diff line number Diff line change @@ -15,14 +15,7 @@ function compile_event()
1515{
1616 _event_deps_build
1717
18- local PACKAGE_NAME=" event"
19- case " $VERSION " in
20- " 8.0" )
21- PACKAGE_NAME=" event-3.0.2"
22- ;;
23- esac
24-
25- if ! printf " \n" | pecl install " $PACKAGE_NAME " ; then
18+ if ! printf " \n" | pecl install event; then
2619 return 1
2720 fi
2821
Original file line number Diff line number Diff line change @@ -15,14 +15,7 @@ function compile_event()
1515{
1616 _event_deps_build
1717
18- local PACKAGE_NAME=" event"
19- case " $VERSION " in
20- " 8.0" )
21- PACKAGE_NAME=" event-3.0.2"
22- ;;
23- esac
24-
25- if ! printf " \n" | pecl install " $PACKAGE_NAME " ; then
18+ if ! printf " \n" | pecl install event; then
2619 return 1
2720 fi
2821
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments