dalareo / docker-wordpress-ldap-support

Wordpress Docker image with LDAP support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker image of Wordpress with LDAP support

This images stays up to date with the original one but with LDAP support

Just added this code snippet as suggested by https://github.com/tianon, Wordpress official image mantainer:

FROM wordpress

RUN set -x \
	&& apt-get update \
	&& apt-get install -y libldap2-dev \
	&& rm -rf /var/lib/apt/lists/* \
	&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \
	&& docker-php-ext-install ldap \
	&& apt-get purge -y --auto-remove libldap2-dev

To build the images just run:

docker build -t [username]/[imagename] .

About

Wordpress Docker image with LDAP support