From c6ef22e1c88a62ad7e9e852f045f02cd777b2b2d Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 21 Nov 2024 10:10:31 +0100 Subject: [PATCH 1/2] chore: Add the amqp extension to the buster images --- dockerfiles/ci/buster/build-extensions.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dockerfiles/ci/buster/build-extensions.sh b/dockerfiles/ci/buster/build-extensions.sh index 1891f93358..e21e9a6fec 100755 --- a/dockerfiles/ci/buster/build-extensions.sh +++ b/dockerfiles/ci/buster/build-extensions.sh @@ -36,6 +36,13 @@ elif [[ $PHP_VERSION_ID -le 73 ]]; then MONGODB_VERSION=-1.16.2 fi +AMQP_VERSION= +if [[ $PHP_VERSION_ID -le 73 ]]; then + AMQP_VERSION=-1.11.0 +else + AMQP_VERSION=-2.1.2 +fi + AST_VERSION= if [[ $PHP_VERSION_ID -le 71 ]]; then AST_VERSION=-1.0.16 @@ -112,6 +119,7 @@ if [[ $SHARED_BUILD -ne 0 ]]; then else pecl channel-update pecl.php.net; + pecl install amqp$AMQP_VERSION; echo "extension=amqp.so" >> ${iniDir}/amqp.ini; yes '' | pecl install apcu; echo "extension=apcu.so" >> ${iniDir}/apcu.ini; pecl install ast$AST_VERSION; echo "extension=ast.so" >> ${iniDir}/ast.ini; if [[ $PHP_VERSION_ID -ge 71 && $PHP_VERSION_ID -le 80 ]]; then From 058aa74516f5ff71c3dcc4715d0a409e32f42f59 Mon Sep 17 00:00:00 2001 From: Alexandre Choura Date: Thu, 21 Nov 2024 10:54:25 +0100 Subject: [PATCH 2/2] chore: Add the librabbitmq library --- dockerfiles/ci/buster/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dockerfiles/ci/buster/Dockerfile b/dockerfiles/ci/buster/Dockerfile index 20139bc4df..dba7530c8b 100644 --- a/dockerfiles/ci/buster/Dockerfile +++ b/dockerfiles/ci/buster/Dockerfile @@ -26,6 +26,7 @@ ENV DEVLIBS \ libonig-dev \ libpq-dev \ libpng-dev \ + librabbitmq-dev \ libsodium-dev \ libsqlite3-dev \ libssl-dev \