Last active
January 28, 2023 13:41
-
-
Save westberliner/d8e622d052e01c9368b9 to your computer and use it in GitHub Desktop.
Add ldap php extension to official owncloud docker container.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM owncloud:latest | |
RUN \ | |
apt-get update && \ | |
apt-get install libldap2-dev -y && \ | |
rm -rf /var/lib/apt/lists/* && \ | |
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \ | |
docker-php-ext-install ldap |
Tks
Thank you. It works in php7.2-fpm-buster docker image.
Thx, nice job
What a genius, I had a lot of problems using extension ldap on php 7 in docker but you, finally, gave me the solution to this...
Thank you so much!!!
thx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to use this solution but it didn't work, it returned an error on the console