Docker build environment for pydio-sync
Pydio is an open-core, self-hosted Document Sharing & Collaboration software for organizations.
Pydio 8 is considered EOL since end of 2019 and had it's last security release 2020/01/10.
Pydio-sync is the synchronization client for Pydio 8, a sync & share solution.
The last listed release on Github is v1.2.5, see: https://github.com/pydio/pydio-sync/releases and source on Github hasn't been updated for quite a while now.
There are more releases + development builds on the Pydio Download Server but it is unclear which version does work and which don't.
Pydio-sync needs Python 2.7 which has reached its EOL in 2020-01-01.
There have been some hacks to make pydio-sync run on Debian/buster + Debian/bullseye, but after the Let's Encrypt Root certificate has been expired, pydio-sync failed to stop working entirely.
And as the build instructions are also out of date, it was not possible to rebuild an updated client.
This docker image build a Python2 virtualenv environment which can be used in Debian/bullseye to run pydio-sync.
Disclaimer: Pydio 8 is EOL! You should really update to Pydio Cells as soon as possible. The migration documentation can be found here: https://pydio.com/en/docs/cells/v2/migrate-pydio-8-cells
Get the source:
git clone https://github.com/pydio/pydio-sync
cd pydio-sync
git submodule update --init
cd ..
Build the Python2 virtual environment for pydio-sync and build pydio-sync:
# review/edit .env
docker-compose build
docker-compose up
docker-compose down
Install and run pydio-sync:
sudo mv opt/pydio-sync-venv /opt
source /opt/pydio-sync-venv/bin/activate
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
python2 pydio-sync/build/lib.linux-x86_64-2.7/pydio/main.py