Created
July 16, 2015 20:18
-
-
Save bitsandbooks/ccee2a2ce4b3fcfe0982 to your computer and use it in GitHub Desktop.
Dockerfiles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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