Skip to content

Commit 23c6b9d

Browse files
author
Raffael Tancman
committed
add ldap
1 parent 4841eae commit 23c6b9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

php-5.6/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN apt-get update \
1515
gettext \
1616
mysql-client libmysqlclient-dev \
1717
postgresql-client libpq-dev \
18-
sqlite3 libsqlite3-dev
18+
sqlite3 libsqlite3-dev \
19+
ldap-utils
1920

2021
# composer
2122
RUN curl -sS https://getcomposer.org/installer | php
@@ -108,6 +109,9 @@ RUN docker-php-ext-install pgsql
108109
RUN docker-php-ext-install pdo_pgsql
109110
RUN docker-php-ext-install pdo_sqlite
110111
RUN docker-php-ext-install opcache
112+
RUN apt-get install -y libldb-dev libldap2-dev
113+
RUN ln -s /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/libldap.so
114+
RUN docker-php-ext-install ldap
111115

112116
# mongo
113117
RUN yes '' | pecl install -f mongo

0 commit comments

Comments
 (0)