From d0fae0626d62ddac1fb7b91b1a1c5d1d7d05e48f Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Thu, 26 Sep 2024 10:29:43 +0200 Subject: [PATCH] feat: add openldap --- openldap/Dockerfile | 14 ++++++++++++++ openldap/vsn | 1 + 2 files changed, 15 insertions(+) create mode 100644 openldap/Dockerfile create mode 100644 openldap/vsn 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