2022-11-01 20:33:33 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "===== Cloning Docker Images ====="
|
|
|
|
cd images/
|
|
|
|
git clone https://github.com/matrix-org/mjolnir
|
|
|
|
git clone https://github.com/matrix-org/pantalaimon/
|
2022-11-01 20:39:17 -04:00
|
|
|
git clone https://codeberg.org/deathrow/synapse-worker-docker
|
2022-11-01 20:33:33 -04:00
|
|
|
git clone https://codeberg.org/deathrow/synapse-docker
|
|
|
|
git clone https://codeberg.org/deathrow/synapse-captcha
|
|
|
|
|
|
|
|
echo "===== Building Docker Images ====="
|
|
|
|
bash build.sh
|
|
|
|
|
|
|
|
echo "===== Building Tools ====="
|
2022-11-01 20:46:56 -04:00
|
|
|
cd ../
|
|
|
|
cd tools/
|
2022-11-01 20:33:33 -04:00
|
|
|
|
|
|
|
git clone https://github.com/matrix-org/rust-synapse-compress-state
|
|
|
|
cd rust-synapse-compress-state/synapse-auto-compressor
|
|
|
|
cargo build
|
|
|
|
mv ../target/debug/synapse_auto_compressor ../../synapse_auto_compressor
|
|
|
|
|
2022-11-01 20:41:46 -04:00
|
|
|
cd ../
|
2022-11-01 20:33:33 -04:00
|
|
|
|
|
|
|
git clone https://github.com/joj0/synadm
|
|
|
|
cd synadm
|
|
|
|
sudo python3 setup.py install
|
|
|
|
|
2022-11-01 20:41:46 -04:00
|
|
|
cd ../
|
2022-11-01 20:33:33 -04:00
|
|
|
|
|
|
|
echo "===== Pulling Docker Images ====="
|
|
|
|
docker-compose pull
|
|
|
|
|
|
|
|
echo "===== Complete ====="
|