diff --git a/openldap/Dockerfile b/openldap/Dockerfile new file mode 100644 index 0000000..9b0e966 --- /dev/null +++ b/openldap/Dockerfile @@ -0,0 +1,14 @@ +FROM buildpack-deps:bookworm + +ARG LDAP_TAG=2.5.16 + +RUN apt-get update && apt-get install -y groff groff-base ldap-utils +RUN wget https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${LDAP_TAG}.tgz \ + && tar xvzf openldap-${LDAP_TAG}.tgz \ + && cd openldap-${LDAP_TAG} \ + && ./configure --enable-memberof --enable-refint && make depend && make && make install \ + && cd .. && rm -rf openldap-${LDAP_TAG} + +WORKDIR /usr/local/etc/openldap + +EXPOSE 389 636 diff --git a/openldap/vsn b/openldap/vsn new file mode 100644 index 0000000..3eefcb9 --- /dev/null +++ b/openldap/vsn @@ -0,0 +1 @@ +1.0.0