Skip to content

Commit 239a9ce

Browse files
authored
Merge pull request #20 from fagnerdin/master
LDAP Installation
2 parents 22ea1c0 + a176c80 commit 239a9ce

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ RUN composer self-update --2
2323

2424
ADD conf/apache.conf /etc/apache2/sites-available/000-default.conf
2525

26+
# LDAP INSTALLATION
27+
RUN set -x \
28+
&& apt-get update \
29+
&& apt-get install -y libldap2-dev \
30+
&& rm -rf /var/lib/apt/lists/* \
31+
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \
32+
&& docker-php-ext-install ldap \
33+
&& apt-get purge -y --auto-remove libldap2-dev
34+
2635
RUN a2enmod rewrite
2736

2837
#ADD startScript.sh /startScript.sh

0 commit comments

Comments
 (0)