Skip to content

Instantly share code, notes, and snippets.

@westberliner
Last active January 28, 2023 13:41
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save westberliner/d8e622d052e01c9368b9 to your computer and use it in GitHub Desktop.
Save westberliner/d8e622d052e01c9368b9 to your computer and use it in GitHub Desktop.
Add ldap php extension to official owncloud docker container.
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
@yveson33
Copy link

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment