hi, will be useful if there any dockerfile to easy build p4a environment in docker with standard dependency version (like ndk etc) for running p4a
Thanks for the suggestion. I intend to look into this at some point, but I'm not familiar with docker and have other priorities I'm likely to work through first. If anyone would like to contribute whatever is necessary, that would be welcome.
I'm going to close this for now as not a bug. If anyone is working on it and hits issues relating to p4a, feel free to open an issue or PR about that.
See @tshirtman's repo - https://github.com/tshirtman/Buildozer-docker for reference :)
It's been built at https://hub.docker.com/r/tshirtman/buildozer/ but apparently stopped working, didn't find the time to investigate yet (it's probably because of trying to build with as many recipes as possible), but PRs are welcome!
thanks, i will look into it :)
I believe this is fixed now in https://github.com/kivy/python-for-android/blob/d013a86/Dockerfile
Maybe we miss some documentation.
Well the documentation is just cloning (or not) the project and:
# build the image
docker build --tag=p4a .
# then use the p4a command
docker run p4a /bin/sh -c '. venv/bin/activate && p4a apk --help'
# or go for a full interactive experience
docker run -it --rm p4a;
If someone knows where to write this piece of documentation then we can close this ticket.