From 6ea86fbce3fd4d51d035ffef4ee48725cd1a3041 Mon Sep 17 00:00:00 2001 From: Nate Morris Date: Tue, 5 Dec 2017 12:52:35 -0600 Subject: [PATCH] Add LDAP support to PHP 5.6 workspace Issue #1296: PHP 7.0 and 7.1 workspaces support adding the PHP LDAP module. The PHP 5.6 workspace file seems to have missed this for some reason. --- workspace/Dockerfile-56 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index d6f43f42..c7989dc8 100644 --- a/workspace/Dockerfile-56 +++ b/workspace/Dockerfile-56 @@ -72,6 +72,19 @@ RUN if [ ${INSTALL_SOAP} = true ]; then \ apt-get -y install libxml2-dev php5.6-soap \ ;fi +##################################### +# LDAP: +##################################### + +ARG INSTALL_LDAP=false +ENV INSTALL_LDAP ${INSTALL_LDAP} + +RUN if [ ${INSTALL_LDAP} = true ]; then \ + apt-get update -yqq && \ + apt-get install -y libldap2-dev && \ + apt-get install -y php5.6-ldap \ +;fi + ##################################### # IMAP: #####################################