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.
This commit is contained in:
Nate Morris 2017-12-05 12:52:35 -06:00
parent dec08ec2b1
commit 6ea86fbce3
1 changed files with 13 additions and 0 deletions

View File

@ -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:
#####################################