- Vagrant ( Optional )
- VirtralBox ( Optional )
- Box matthias_reissner/ubuntu18_docker ( Optional )
- Docker ( Needed )
vagrant box
vagrant box list
vagrant box add matthias_reissner/ubuntu18_docker
vagrant
vagrant status
vagrant init
vagrant up
vagrant ssh
vagrant halt
# find ...
find ~/aosp -name "*.java" |xargs grep "Zygote"
$ cd android-jenkins
$ sudo docker build -t afirezd/jenkins:1.1.0 .
$ sudo docker run -p 8080:8080 -p 50000:50000 -v /vagrant/jenkins:/var/jenkins_home afirezd/android-jenkins:1.1.0
$ docker run ps
$ sudo docker exec ${container_id} cat /var/jenkins_home/secrets/initialAdminPassword
$ docker exec -it ${container_id} /bin/bash
$ cd androidbuilder
$ sudo docker build -t afirezd/androidbuilder:v1.0.0 .