Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.59 KB

File metadata and controls

54 lines (41 loc) · 1.59 KB

OpenLDAP slapd base for COmanage Registry

Intended to build an OpenLDAP slapd base image used by other images in this repository as part of a multi-stage build.

Build Arguments

No arguments are required for building the image.

The following arguments may be supplied during the build:

--build-arg OLC_SUFFIX=<directory suffix>
--build-arg OLC_ROOT_DN=<directory root DN>
--build-arg OLC_ROOT_PW=<root DN password, usually hashed>

Building

docker build \
  -t comanage-registry-slapd-base:<tag> .

Building Example

export COMANAGE_REGISTRY_SLAPD_BASE_IMAGE_VERSION=1
TAG="${COMANAGE_REGISTRY_SLAPD_BASE_IMAGE_VERSION}"
docker build \
  -t comanage-registry-slapd-base:$TAG .