forked from repo-mirrors/cnpg-postgres-containers
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:
committed by
GitHub
parent
f9f09607b1
commit
a7dbcbf8bb
@@ -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/*
|
||||
|
Reference in New Issue
Block a user