From d330b2d2038db3e56a7cea1669034e1d15e34105 Mon Sep 17 00:00:00 2001 From: Hulk Date: Wed, 17 Jul 2019 10:23:31 +0800 Subject: [PATCH] For using TLS connection to LDAP/AD server with docker-ce. --- image/seafile/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/image/seafile/Dockerfile b/image/seafile/Dockerfile index ef065b6..f8fcc15 100644 --- a/image/seafile/Dockerfile +++ b/image/seafile/Dockerfile @@ -9,6 +9,9 @@ RUN mkdir -p /opt/seafile/ && \ curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \ | tar xzf - -C /opt/seafile/ +# For using TLS connection to LDAP/AD server with docker-ce. +RUN find /opt/seafile/ \( -name "liblber-*" -o -name "libldap-*" -o -name "libldap_r*" -o -name "libsasl2.so*" \) -delete + ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh COPY scripts /scripts