From 3a57f818e8e64e681dbb59a610ef51b8b34e4998 Mon Sep 17 00:00:00 2001 From: William Johansson Date: Sun, 9 Oct 2016 21:19:24 +0200 Subject: [PATCH] Install LDAP PHP extension The LDAP extension is required for LDAP integration. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dfda6150..4838649d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y \ libfreetype6-dev \ libicu-dev \ libjpeg-dev \ + libldap2-dev \ libmcrypt-dev \ libmemcached-dev \ libpng12-dev \ @@ -15,7 +16,8 @@ RUN apt-get update && apt-get install -y \ # https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ - && docker-php-ext-install gd exif intl mbstring mcrypt mysql opcache pdo_mysql pdo_pgsql pgsql zip + && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \ + && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql opcache pdo_mysql pdo_pgsql pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php