Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile #1175

Closed
guangrei opened this issue Nov 21, 2017 · 5 comments
Closed

Dockerfile #1175

guangrei opened this issue Nov 21, 2017 · 5 comments

Comments

@guangrei
Copy link

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

@inclement
Copy link
Member

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.

@KeyWeeUsr
Copy link
Contributor

See @tshirtman's repo - https://github.com/tshirtman/Buildozer-docker for reference :)

@tshirtman
Copy link
Member

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!

@guangrei
Copy link
Author

thanks, i will look into it :)

@AndreMiras
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants