From a7dbcbf8bbf8902c393b45e0b8af9e7bb2e98640 Mon Sep 17 00:00:00 2001 From: Gabriele Bartolini Date: Wed, 17 Sep 2025 10:47:59 +0200 Subject: [PATCH] chore(minimal): add LDAP libraries (#315) Include `libsasl2-modules` and `libldap-common` in the `minimal` image, given their small footprint. Closes #261 Signed-off-by: Gabriele Bartolini --- BUILD.md | 4 ++-- Dockerfile | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index e22c9bfa..17919d1a 100644 --- a/BUILD.md +++ b/BUILD.md @@ -116,10 +116,10 @@ you can deploy a temporary, disposable [distribution registry](https://distribut with the following command: ```bash -docker run -d --rm -p 5000:5000 --name registry registry:2 +docker run -d --rm -p 5000:5000 --name registry registry:3 ``` -This command runs a lightweight, temporary instance of the `registry:2` +This command runs a lightweight, temporary instance of the `registry:3` container on port `5000`. ## Image Signing Workflow diff --git a/Dockerfile b/Dockerfile index bd365c92..4c85bec3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ RUN apt-get update && \ apt-get install -y --no-install-recommends -o Dpkg::::="--force-confdef" -o Dpkg::::="--force-confold" postgresql-common && \ sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf && \ apt-get install -y --no-install-recommends \ + libsasl2-modules libldap-common \ -o Dpkg::::="--force-confdef" -o Dpkg::::="--force-confold" "postgresql-${PG_MAJOR}=${PG_VERSION}*" && \ apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && \ rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/*