13 lines
320 B
Docker
13 lines
320 B
Docker
FROM osixia/openldap:latest
|
|
|
|
MAINTAINER "Benedikt Kristinsson <benedikt.k@gmail.com>"
|
|
|
|
ARG LDAP_OPENLDAP_UID=1220
|
|
ENV LDAP_OPENLDAP_UID=${LDAP_OPENLDAP_UID}
|
|
|
|
ARG LDAP_OPENLDAP_GID=1220
|
|
ENV LDAP_OPENLDAP_GID=${LDAP_OPENLDAP_GID}
|
|
|
|
RUN usermod -u ${LDAP_OPENLDAP_UID} openldap
|
|
RUN groupmod -g ${LDAP_OPENLDAP_UID} openldap
|