Added initial container definition for uffd-ldapd

Signed-off-by: Nis Wechselberg <enbewe@enbewe.de>
This commit is contained in:
Nis Wechselberg 2025-06-09 16:50:47 +02:00
parent f36cc07b65
commit 27d78f4719
Signed by: enbewe
GPG key ID: 7B25171F921B9E57
4 changed files with 402 additions and 0 deletions

21
Containerfile Normal file
View file

@ -0,0 +1,21 @@
FROM docker.io/library/debian:bookworm-20250520-slim
RUN apt-get -qq update && \
apt-get -qq dist-upgrade && \
apt-get -qq install ca-certificates
# Add key and config for cccv repository
COPY cccv-archive-key.asc /etc/apt/trusted.gpg.d/
COPY cccv-archive.list /etc/apt/sources.list.d/
# Install uffd-ldapd from (new) package sources
RUN apt-get -qq update && \
apt-get -qq install uffd-ldapd
# Copy the patched version of uffd-ldapd (for now) to allow SIGTERM handling
COPY uffd-ldapd /usr/bin/uffd-ldapd
EXPOSE 389/tcp
ENTRYPOINT ["/usr/bin/uffd-ldapd"]
CMD ["--socket-address", "0.0.0.0"]