Skip to content

Instantly share code, notes, and snippets.

@asifbacchus
Last active Nov 11, 2021
Embed
What would you like to do?
Seafile Pro Dockerfile
# Modified Seafile-PRO container
# Addresses TLS issue connecting to OpenLDAP
# build args
ARG SEAF_VERSION
FROM docker.seadrive.org/seafileltd/seafile-pro-mc:${SEAF_VERSION}
ARG SEAF_VERSION
# add useful utilities and update certificates
RUN apt-get update \
&& apt-get install -y iputils-ping nano ldap-utils ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f \
/var/cache/apt/archives/*.deb \
/var/cache/apt/archives/partial/*.deb \
/var/cache/apt/*.bin
# remove LDAP libraries
RUN cd /opt/seafile/seafile-pro-server-${SEAF_VERSION}/seafile/lib \
&& rm -f \
liblber-2.4.so.2 \
libldap-2.4.so.2 \
libsasl2.so.2 \
libldap_r-2.4.so.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment