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

Feature Request: Vagrantfile #154

Closed
Immortalin opened this issue Oct 25, 2014 · 7 comments
Closed

Feature Request: Vagrantfile #154

Immortalin opened this issue Oct 25, 2014 · 7 comments
Labels

Comments

@Immortalin
Copy link

Hi, I am running running Kivy on a Windows Machine, I would really be grateful if someone could write a Vagrant file for the automated setup of buildozer as currently only a full-featured VM is available from the Kivy virtual machine page. I only need a simple isolated environment that can be use within vagrant without the need for extensive linux knowledge for building Android apps, not a fully featured VM. Thank you.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@olymk2
Copy link

olymk2 commented Oct 19, 2015

not quite a vagrant file, but you maybe able to use docker , i have not tried this outside a linux machine myself but it should just work the build files are below they may need some slight adjustments.

https://github.com/olymk2/docker_kivy_buildozer_container

its a self contained environment that installs all required files and then uses your local project files to build and generate the apk.

you may have to adjust slightly as i am not sure about deploying over usb direct from the docker machine.

@dessant
Copy link
Contributor

dessant commented Oct 19, 2015

You could also use packer to create a vagrant file. @akshayaurora recently made a script for exporting an ovf, with minor changes this template can be used for creating vagrant files: https://github.com/kivy/buildozer/tree/master/buildozer/tools/packer

https://www.packer.io/docs/post-processors/vagrant.html

We intend to target both vagrant and docker in future releases.

@olymk2
Copy link

olymk2 commented Oct 19, 2015

feel free to use the stuff in the repo above if its useful I am using it to package my apps.

it gets around the issues with having the correct versions and android sdk tools being missing etc and lets me just build my app, It would be nice to know if it works for other people as well

@dessant
Copy link
Contributor

dessant commented Oct 19, 2015

@olymk2 thanks for the share. 👍

@Immortalin
Copy link
Author

@olymk2 thanks!

@jedie
Copy link

jedie commented Nov 29, 2017

see also: #589

@AndreMiras
Copy link
Member

We now provide a Dockerfile that's also published on DockerHub https://hub.docker.com/r/kivy/buildozer
You can play with it in different ways, e.g.

docker run --interactive --tty --rm \
  --volume "$HOME/.buildozer":/home/user/.buildozer \
  --volume "$PWD":/home/user/hostcwd \
  --entrypoint /bin/bash \
  kivy/buildozer

Providing a Vagrantfile is not that difficult, but integrating it to automated test to it it more tricky.
I'm not sure we want to provide tools we don't test (anymore).

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

No branches or pull requests

5 participants