-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ MYSQL_USER_PASSWORD=seafilesecret | |
MYSQL_PORT=3306 | ||
|
||
# General Seafile Settings | ||
SEAFILE_VERSION=10.0.1 | ||
SEAFILE_VERSION=11.0.5 | ||
SEAFILE_NAME=Seafile | ||
SEAFILE_ADDRESS=seafile.localhost | ||
[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
FROM debian:bullseye-slim | ||
FROM debian:bookworm-slim | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
|
||
ENV TZ=Europe/Vienna | ||
|
||
# For support set local time zone. | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \ | ||
procps default-libmysqlclient-dev libjpeg-dev zlib1g-dev python3 python3-setuptools python3-pip \ | ||
ldap-utils curl sqlite3 tzdata locales memcached libmemcached-dev libffi-dev && \ | ||
pip3 install --timeout=3600 \ | ||
django==3.2.* future==0.18.* mysqlclient==2.1.* \ | ||
pymysql pillow==9.3.* pylibmc captcha==0.4 markupsafe==2.0.1 jinja2 sqlalchemy==1.4.3 \ | ||
psd-tools django-pylibmc django_simple_captcha==0.5.* djangosaml2==1.5.* pysaml2==7.2.* pycryptodome==3.16.* cffi==1.15.1 lxml && \ | ||
procps python3 python3-dev python3-setuptools python3-pip libmariadb-dev-compat libmariadb-dev \ | ||
libjpeg-dev zlib1g-dev ldap-utils libldap2-dev libsasl2-dev \ | ||
curl sqlite3 tzdata locales memcached libmemcached-dev libffi-dev && \ | ||
rm -f /usr/bin/python && ln -s /usr/bin/python3 /usr/bin/python && \ | ||
pip3 install --break-system-packages --timeout=3600 \ | ||
click termcolor colorlog pymysql \ | ||
django==4.2.* future==0.18.* mysqlclient==2.1.* \ | ||
pillow==10.2.* pylibmc captcha==0.5.* markupsafe==2.0.1 jinja2 sqlalchemy==2.0.18 \ | ||
psd-tools django-pylibmc django_simple_captcha==0.6.* pyjwt==2.6.* djangosaml2==1.5.* pysaml2==7.2.* pycryptodome==3.16.* cffi==1.15.1 lxml python-ldap==3.4.3 && \ | ||
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen && \ | ||
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
@@ -22,7 +25,7 @@ RUN curl -L https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VE | |
WORKDIR /opt/seafile | ||
|
||
# build-time arguments, use them in docker build with --build-arg switch to build different version | ||
ARG SEAFILE_VERSION=10.0.1 | ||
ARG SEAFILE_VERSION=11.0.5 | ||
|
||
ENV SEAFILE_VERSION=${SEAFILE_VERSION} | ||
|
||
|
@@ -31,9 +34,6 @@ RUN mkdir -p /opt/seafile/ /seafile/ && \ | |
| tar xzf - -C /opt/seafile/ && \ | ||
ln -s /opt/seafile/seafile-server-${SEAFILE_VERSION} /opt/seafile/seafile-server-latest | ||
|
||
# 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 | ||
|
||
COPY scripts /scripts | ||
|
||
EXPOSE 8000 8082 8080 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters