Skip to content

Commit c6ef22e

Browse files
committed
chore: Add the amqp extension to the buster images
1 parent ab52de5 commit c6ef22e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dockerfiles/ci/buster/build-extensions.sh

+8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ elif [[ $PHP_VERSION_ID -le 73 ]]; then
3636
MONGODB_VERSION=-1.16.2
3737
fi
3838

39+
AMQP_VERSION=
40+
if [[ $PHP_VERSION_ID -le 73 ]]; then
41+
AMQP_VERSION=-1.11.0
42+
else
43+
AMQP_VERSION=-2.1.2
44+
fi
45+
3946
AST_VERSION=
4047
if [[ $PHP_VERSION_ID -le 71 ]]; then
4148
AST_VERSION=-1.0.16
@@ -112,6 +119,7 @@ if [[ $SHARED_BUILD -ne 0 ]]; then
112119
else
113120
pecl channel-update pecl.php.net;
114121

122+
pecl install amqp$AMQP_VERSION; echo "extension=amqp.so" >> ${iniDir}/amqp.ini;
115123
yes '' | pecl install apcu; echo "extension=apcu.so" >> ${iniDir}/apcu.ini;
116124
pecl install ast$AST_VERSION; echo "extension=ast.so" >> ${iniDir}/ast.ini;
117125
if [[ $PHP_VERSION_ID -ge 71 && $PHP_VERSION_ID -le 80 ]]; then

0 commit comments

Comments
 (0)