Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save miqueiaspenha/78ca5125018a2889cf8d3f769b0d7907 to your computer and use it in GitHub Desktop.
Save miqueiaspenha/78ca5125018a2889cf8d3f769b0d7907 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment