Skip to content

Instantly share code, notes, and snippets.

@bitsandbooks
Created July 16, 2015 20:18
Show Gist options
  • Select an option

  • Save bitsandbooks/ccee2a2ce4b3fcfe0982 to your computer and use it in GitHub Desktop.

Select an option

Save bitsandbooks/ccee2a2ce4b3fcfe0982 to your computer and use it in GitHub Desktop.
Dockerfiles
FROM phusion/baseimage:latest
MAINTAINER Rob Dumas <[email protected]>
ENV LC_ALL=C
ENV DEBIAN_FRONTEND=noninteractive
RUN \
apt-get update && apt-get upgrade -y &&\
groupadd -r openldap &&\
useradd -r -g openldap openldap &&\
/sbin/enable-service ssl-kit &&\
apt-get install -y --force-yes --no-install-recommends slapd ldap-utils phpldapadmin &&\
dpkg-reconfigure slapd
# Expose ldap:// and ldaps:// default ports.
EXPOSE 389 636
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment