First version of a Dockerfile for Ubuntu 24.04.

This commit is contained in:
root
2025-03-27 15:44:28 +00:00
parent 44f75c286f
commit 703b5e8f58

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
# Pull base image from authorized source
FROM ubuntu:24.04
LABEL description="OpenLDAP" \
maintainer="Eric Rakestraw <eric@maximumdirect.net>" \
version="Ubuntu 24.04"
# Install the necessary packages for LDAP Proxy server
RUN apt-get -q update && apt-get install -q --yes slapd slapd-contrib ldap-utils
# Remove the slapd.d directory, since we will be using slapd.conf.
RUN rm -rf /etc/ldap/slapd.d
# Run with debug enabled; this will print logs to STDOUT.
CMD ["/usr/sbin/slapd", "-d1"]