Commit Graph
15 Commits
Author SHA1 Message Date
Maxim Shulga 523a0955c4 Install Seafile CLI from AppImage instead of the APT repository
Seafile discontinued linux-clients.seafile.com: it resolves but accepts
no connections on 80 or 443, and the official docs no longer mention APT
at all. Every `docker build` has failed since. Upstream now ships the CLI
as an AppImage, so install 9.0.19 from the download site.

The AppImage is unpacked rather than executed. Running one needs FUSE and
so a privileged container, and its self-extraction also fails when the
build host cannot execute the payload's architecture. Unpacking the
appended squashfs directly avoids both.

Also add the bundled seafile/pysearpc bindings to the venv path. The APT
package installed them system-wide, where `venv --system-site-packages`
picked them up; dsc imports seafile directly for RPC, not only through
seaf-cli, so it broke when that implicit dependency went away.

Drops apt-key, pins the version, and verifies a SHA256 before unpacking.
Build-time smoke checks assert the seaf-cli subcommands and the app's own
imports.

Note: the AppImage is x86_64-only, and upstream publishes no digest or
signature, so the pinned checksum is trust-on-first-use.
2026-08-02 15:39:29 -07:00
snegov a7f351a75f Use RPC to fetch sync status 2023-10-24 22:12:02 -07:00
snegov 7f39e0f271 Initialize seafile client during container start 2023-09-16 01:27:46 -07:00
snegov 9f6c417147 Use debian as base docker image 2023-09-15 20:00:04 -07:00
snegov 724166b4a4 Support library names in configuration 2022-01-30 18:27:37 +03:00
snegov 310eb9028c Save seafile-data info in volume 2021-02-28 23:27:26 +03:00
snegov 6eadca4041 Update seafile repo URL 2021-01-30 22:59:09 +03:00
snegov 6048280983 Update installation process in Dockerfile 2020-08-25 21:30:44 +03:00
snegov e4e60c1023 Add cleanup after package install in Dockerfile 2020-06-04 21:16:58 +03:00
snegov 280979f88a Fix import error
Forgot to add local python libraries to the image.
2019-12-06 11:42:20 +03:00
snegov 4b70e9ab17 Update seafile repository to debian10 2019-08-14 12:14:50 +03:00
snegov 40827f413f rewrite start script in python 2019-04-14 12:34:20 +03:00
Ludovic Frank 9b4ed710f4 Updated Debian Version 2019-01-17 20:12:42 +01:00
Robin Grönberg 4fe9373d23 Updated so that volumes can be properly linked and still synced. 2018-04-18 20:45:25 +02:00
Robin Grönberg c85ee014f8 Added docker files. 2018-04-18 18:34:17 +02:00