From 1123cac699f5bbb4b788d96cc9ebfd1277af1dd0 Mon Sep 17 00:00:00 2001 From: J0WI Date: Fri, 9 Feb 2018 03:52:57 +0100 Subject: [PATCH] Add LDAP extension --- apache-php7.0/Dockerfile | 4 ++++ apache-php7.1/Dockerfile | 4 ++++ apache-php7.2/Dockerfile | 4 ++++ apache/Dockerfile | 4 ++++ fpm-php7.0/Dockerfile | 4 ++++ fpm-php7.1/Dockerfile | 4 ++++ fpm-php7.2/Dockerfile | 4 ++++ fpm/Dockerfile | 4 ++++ 8 files changed, 32 insertions(+) diff --git a/apache-php7.0/Dockerfile b/apache-php7.0/Dockerfile index 1e10b0a..1ec814e 100644 --- a/apache-php7.0/Dockerfile +++ b/apache-php7.0/Dockerfile @@ -16,6 +16,7 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ libbz2-dev \ libjpeg-dev \ + libldap2-dev \ libmcrypt-dev \ libmemcached-dev \ libpng12-dev \ @@ -23,9 +24,12 @@ RUN set -ex; \ ; \ \ docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install \ bz2 \ gd \ + ldap \ mcrypt \ mysqli \ pdo \ diff --git a/apache-php7.1/Dockerfile b/apache-php7.1/Dockerfile index b4b2c86..f369ca8 100644 --- a/apache-php7.1/Dockerfile +++ b/apache-php7.1/Dockerfile @@ -16,6 +16,7 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ libbz2-dev \ libjpeg-dev \ + libldap2-dev \ libmcrypt-dev \ libmemcached-dev \ libpng12-dev \ @@ -23,9 +24,12 @@ RUN set -ex; \ ; \ \ docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install \ bz2 \ gd \ + ldap \ mcrypt \ mysqli \ pdo \ diff --git a/apache-php7.2/Dockerfile b/apache-php7.2/Dockerfile index 570c476..23415d4 100644 --- a/apache-php7.2/Dockerfile +++ b/apache-php7.2/Dockerfile @@ -16,15 +16,19 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ libbz2-dev \ libjpeg-dev \ + libldap2-dev \ libmemcached-dev \ libpng-dev \ libpq-dev \ ; \ \ docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install \ bz2 \ gd \ + ldap \ mysqli \ pdo \ pdo_mysql \ diff --git a/apache/Dockerfile b/apache/Dockerfile index b346853..901ce8a 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -16,6 +16,7 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ libbz2-dev \ libjpeg-dev \ + libldap2-dev \ libmcrypt-dev \ libmemcached-dev \ libpng12-dev \ @@ -23,9 +24,12 @@ RUN set -ex; \ ; \ \ docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install \ bz2 \ gd \ + ldap \ mcrypt \ mysqli \ pdo \ diff --git a/fpm-php7.0/Dockerfile b/fpm-php7.0/Dockerfile index 5ff164c..3050b09 100644 --- a/fpm-php7.0/Dockerfile +++ b/fpm-php7.0/Dockerfile @@ -13,6 +13,7 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ libbz2-dev \ libjpeg-dev \ + libldap2-dev \ libmcrypt-dev \ libmemcached-dev \ libpng12-dev \ @@ -20,9 +21,12 @@ RUN set -ex; \ ; \ \ docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install \ bz2 \ gd \ + ldap \ mcrypt \ mysqli \ pdo \ diff --git a/fpm-php7.1/Dockerfile b/fpm-php7.1/Dockerfile index f70cf33..ea96d46 100644 --- a/fpm-php7.1/Dockerfile +++ b/fpm-php7.1/Dockerfile @@ -13,6 +13,7 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ libbz2-dev \ libjpeg-dev \ + libldap2-dev \ libmcrypt-dev \ libmemcached-dev \ libpng12-dev \ @@ -20,9 +21,12 @@ RUN set -ex; \ ; \ \ docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install \ bz2 \ gd \ + ldap \ mcrypt \ mysqli \ pdo \ diff --git a/fpm-php7.2/Dockerfile b/fpm-php7.2/Dockerfile index 6c85a18..998972f 100644 --- a/fpm-php7.2/Dockerfile +++ b/fpm-php7.2/Dockerfile @@ -13,15 +13,19 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ libbz2-dev \ libjpeg-dev \ + libldap2-dev \ libmemcached-dev \ libpng-dev \ libpq-dev \ ; \ \ docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install \ bz2 \ gd \ + ldap \ mysqli \ pdo \ pdo_mysql \ diff --git a/fpm/Dockerfile b/fpm/Dockerfile index 629e530..d47a68d 100644 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -13,6 +13,7 @@ RUN set -ex; \ apt-get install -y --no-install-recommends \ libbz2-dev \ libjpeg-dev \ + libldap2-dev \ libmcrypt-dev \ libmemcached-dev \ libpng12-dev \ @@ -20,9 +21,12 @@ RUN set -ex; \ ; \ \ docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \ + debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ + docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ docker-php-ext-install \ bz2 \ gd \ + ldap \ mcrypt \ mysqli \ pdo \