Skip to content

Commit a7dbcbf

Browse files
authored
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>
1 parent f9f0960 commit a7dbcbf

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

BUILD.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ you can deploy a temporary, disposable [distribution registry](https://distribut
116116
with the following command:
117117

118118
```bash
119-
docker run -d --rm -p 5000:5000 --name registry registry:2
119+
docker run -d --rm -p 5000:5000 --name registry registry:3
120120
```
121121

122-
This command runs a lightweight, temporary instance of the `registry:2`
122+
This command runs a lightweight, temporary instance of the `registry:3`
123123
container on port `5000`.
124124

125125
## Image Signing Workflow

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ RUN apt-get update && \
1212
apt-get install -y --no-install-recommends -o Dpkg::::="--force-confdef" -o Dpkg::::="--force-confold" postgresql-common && \
1313
sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf && \
1414
apt-get install -y --no-install-recommends \
15+
libsasl2-modules libldap-common \
1516
-o Dpkg::::="--force-confdef" -o Dpkg::::="--force-confold" "postgresql-${PG_MAJOR}=${PG_VERSION}*" && \
1617
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && \
1718
rm -rf /var/lib/apt/lists/* /var/cache/* /var/log/*

0 commit comments

Comments
 (0)