Sign inSign up

starofrainnight/wordpress

By starofrainnight

Updated about 5 years ago

Image
0

115

starofrainnight/wordpress repository overview

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] .

Tag summary

Content type

Image

Digest

Size

179.4 MB

Last updated

about 5 years ago

docker pull starofrainnight/wordpress