forked from osixia/docker-openldap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a2d3fe
commit 8778348
Showing
6 changed files
with
43 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
File renamed without changes.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
# Use osixia/light-baseimage | ||
# sources: https://github.com/osixia/docker-light-baseimage | ||
FROM osixia/light-baseimage:0.2.1-dev | ||
MAINTAINER Bertrand Gouny <[email protected]> | ||
|
||
# Use baseimage's init system. | ||
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/run | ||
# ENTRYPOINT ["/container/tool/run"] | ||
|
||
# Add openldap user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added | ||
RUN groupadd -r openldap && useradd -r -g openldap openldap | ||
|
||
# Install OpenLDAP, ldap-utils and cfssl from baseimage and remove default ldap db | ||
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/install-service-available | ||
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/service-available/.cfssl | ||
# sources: https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/install-service-available | ||
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/service-available/.cfssl/install.sh | ||
RUN apt-get -y update \ | ||
&& /container/tool/install-service-available cfssl \ | ||
&& LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes --no-install-recommends \ | ||
|
@@ -30,5 +28,5 @@ ADD environment /container/environment/99-default | |
# Set OpenLDAP data and config directories in a data volume | ||
VOLUME ["/var/lib/ldap", "/etc/ldap/slapd.d"] | ||
|
||
# Expose default ports for ldap and ldaps | ||
# Expose default ldap and ldaps ports | ||
EXPOSE 389 636 |
This file contains 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