Inspired by the repos of https://github.com/HazemKhaled/Titanium-Docker and https://github.com/MartinDevillers/ti.build
- download Dockerfile
docker build . -t titanium-test
docker run -t -v ~/localFiles:/root/files -i titanium-test bash
(changelocalFiles
to your app folder.)
It will open a terminal where you can run the Titanum CLI and build Android apps. You can now go into your app folder and run ti build -p android -b
- keep that running and open a second console
- run
docker container list
and get the ID - run
docker exec -i 1234567890ab ti build -p android
(change1234567890ab
to your ID)
- Make it more useful :)