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 <gabriele.bartolini@enterprisedb.com>
This commit is contained in:
Gabriele Bartolini
2025-09-17 10:47:59 +02:00
committed by GitHub
parent f9f09607b1
commit a7dbcbf8bb
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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/*