Merge pull request #165 from haiwen/ldaps-docker-ce

For using TLS connection to LDAP/AD server with docker-ce.
This commit is contained in:
Hulk 2019-07-17 10:28:22 +08:00 committed by GitHub
commit d2a57818db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,9 @@ RUN mkdir -p /opt/seafile/ && \
curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \ curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \
| tar xzf - -C /opt/seafile/ | 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 ADD scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh
COPY scripts /scripts COPY scripts /scripts