From c12a7380d0c0968d4a808cf30abb13dafb00cc42 Mon Sep 17 00:00:00 2001 From: David Coutadeur Date: Thu, 21 Nov 2024 11:39:47 +0100 Subject: [PATCH] fix missing sasl dependency (#1008) --- packaging/docker/Dockerfile | 3 ++- packaging/docker/Dockerfile.alpine | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packaging/docker/Dockerfile b/packaging/docker/Dockerfile index a5570624..95402134 100644 --- a/packaging/docker/Dockerfile +++ b/packaging/docker/Dockerfile @@ -48,6 +48,7 @@ ARG BUILD_DEPS=" \ libjpeg62-turbo-dev \ libwebp-dev \ libldap2-dev \ + libsasl2-dev \ " RUN --mount=type=cache,target=/var/lib/apt/lists \ set -ex; \ @@ -59,7 +60,7 @@ RUN --mount=type=cache,target=/var/lib/apt/lists \ \ docker-php-source extract; \ docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp; \ - docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/; \ + docker-php-ext-configure ldap --with-ldap-sasl --with-libdir=lib/$(uname -m)-linux-gnu/; \ docker-php-ext-install -j "$(nproc)" \ bcmath \ bz2 \ diff --git a/packaging/docker/Dockerfile.alpine b/packaging/docker/Dockerfile.alpine index 9f47a907..3076e552 100644 --- a/packaging/docker/Dockerfile.alpine +++ b/packaging/docker/Dockerfile.alpine @@ -91,6 +91,7 @@ RUN --mount=type=cache,target=/var/cache/apk \ libjpeg-turbo-dev \ libwebp-dev \ openldap-dev \ + cyrus-sasl-dev \ argon2-dev \ coreutils \ curl-dev \ @@ -170,6 +171,7 @@ RUN --mount=type=cache,target=/var/cache/apk \ --enable-gd --with-freetype --with-jpeg --with-webp \ --with-bz2 \ --with-ldap \ + --with-ldap-sasl \ --with-apxs2 \ ; \ make -j "$(nproc)"; \