Skip to content

Commit 100b8f6

Browse files
remove old PHP and distro extension overrides
1 parent fcf6d17 commit 100b8f6

7 files changed

Lines changed: 10 additions & 149 deletions

File tree

installer/base/extensions/gd.sh

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff 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

installer/base/extensions/protobuf.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,5 @@ function install_protobuf()
1111

1212
function 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
}

installer/base/extensions/xdebug.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff 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
)

installer/bookworm/extensions/event.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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

installer/bullseye/extensions/event.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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

installer/buster/extensions/event.sh

Lines changed: 0 additions & 62 deletions
This file was deleted.

installer/buster/extensions/intl.sh

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)