1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-28 23:31:17 +00:00
syncthing-android/docker
Simon Frei 0bfb88d963
Target android SDK 33 (fixes #1970) (#1972)
Looks like no changes are necessary - sounds too good to be true, but I
really couldn't find (required) changes in google's docs and the build
passes.
2023-09-12 22:46:16 +02:00
..
Dockerfile Target android SDK 33 (fixes #1970) (#1972) 2023-09-12 22:46:16 +02:00
prebuild.sh Prebuild in docker image based on local copy of repo 2023-06-18 16:45:01 +02:00
README.md Prebuild in docker image based on local copy of repo 2023-06-18 16:45:01 +02:00

How to use this

Create the builder image

From inside the checked out syncthing-android repository, run:

docker build -t syncthing-android-builder:latest -f ./docker/Dockerfile .

Build the app

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