Skip to content

mspmax/android-build-environment

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Build on Docker Container

Mac OSX

Prerequisites

Create container with docker-machine :
$ docker-machine create -d virtualbox --virtualbox-disk-size "200000"  --virtualbox-memory 4096 --virtualbox-hostonly-cidr "192.168.90.1/24" default

$ docker-machine upgrade default
To build the container image:
$ eval "$(docker-machine env default)"

$ docker build -t uber/android-build-environment .
Android Build :
$ cd /path/to/your/android/source/root

$ docker run -i -v $PWD:/project -t uber/android-build-environment /bin/bash /project/ci/build.sh

FAQ

Having connectivity issue when connect via VPN

Stop the docker-machine vm:

$ docker-machine stop default

Then connect to your VPN and restart the docker vm:

$ docker-machine start default
$ eval "$(docker-machine env default)"

Read more

About

Docker repository for android build environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%