From inside the checked out syncthing-android repository, run:
docker build -t syncthing-android-builder:latest -f ./docker/Dockerfile .
- From inside the checked out syncthing-android repository, run:
git submodule init; git submodule update
- Actual build:
docker run --rm -v /tmp/syncthing-android:/mnt syncthing-android-builder ./gradlew buildNative assembleDebug
- Retrieve APKs from ./app/build/outputs