php-fpm service LDAP support

This commit is contained in:
Shao Yu Lung committed 2017-05-12 19:23:03 +08:00
1 parent ac895209f0
commit 848398d443
5 files changed
+38

No files matched your search

+12
View File
@@ -234,6 +234,18 @@ RUN if [ ${INSTALL_GHOSTSCRIPT} = true ]; then \
apt-get install -y poppler-utils ghostscript \
;fi
#####################################
# LDAP:
#####################################
ARG INSTALL_LDAP=false
RUN if [ ${INSTALL_LDAP} = true ]; then \
apt-get update -yqq && \
apt-get install -y libldap2-dev && \
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
docker-php-ext-install ldap \
;fi
#
#--------------------------------------------------------------------------
# Final Touch