1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 04:11:14 +00:00
syncthing-android/docker
Simon Frei 7674fadeba
Undo unintended prebuild script change
When bumping the SDK I mistakenly switched from buildNative to build, no
idea why/how.

Fixes
f0762bab12
2023-06-18 16:25:51 +02:00
..
Dockerfile Bump go to 1.19.10 2023-06-17 14:00:58 +02:00
prebuild.sh Undo unintended prebuild script change 2023-06-18 16:25:51 +02:00
README.md Docker image, and windows builds (#1049) 2018-04-09 21:13:25 +01:00

How to use this

  1. Build the docker image: docker build -t syncthing-android-builder:latest .
  2. Checkout syncthing-android somewhere (for the sake of discussion let's say /tmp/syncthing-android)
  3. Inside /tmp/syncthing-android, do git submodule init; git submodule update
  4. Run docker run --rm -v /tmp/syncthing-android:/mnt syncthing-android-builder ./gradlew buildNative assembleDebug
  5. Retrieve APKs from /tmp/syncthing-android/app/build/outputs