File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,15 @@ ARG LDAP_OPENLDAP_UID
11
11
RUN if [ -z "${LDAP_OPENLDAP_GID}" ]; then groupadd -r openldap; else groupadd -r -g ${LDAP_OPENLDAP_GID} openldap; fi \
12
12
&& if [ -z "${LDAP_OPENLDAP_UID}" ]; then useradd -r -g openldap openldap; else useradd -r -g openldap -u ${LDAP_OPENLDAP_UID} openldap; fi
13
13
14
- # Install OpenLDAP, ldap-utils and ssl-tools from baseimage and clean apt-get files
14
+ # Add stretch-backports in preparation for downloading newer openldap components, especially sladp
15
+ RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
16
+
17
+ # Install OpenLDAP, ldap-utils and ssl-tools from the (backported) baseimage and clean apt-get files
15
18
# sources: https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/add-service-available
16
19
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/service-available/:ssl-tools/download.sh
17
20
RUN echo "path-include /usr/share/doc/krb5*" >> /etc/dpkg/dpkg.cfg.d/docker && apt-get -y update \
18
21
&& /container/tool/add-service-available :ssl-tools \
19
- && LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
22
+ && LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get -t stretch-backports install -y --no-install-recommends \
20
23
ldap-utils \
21
24
libsasl2-modules \
22
25
libsasl2-modules-db \
You can’t perform that action at this time.
0 commit comments