Skip to content

docker environment for build android AOSP code version "O"

Notifications You must be signed in to change notification settings

kevenchen123/android_o_build_env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android build environment for O

version 1.0

1. config

You can set your git config (such as name, email) and http proxy in file "build.env", more detail see comment in file "build.env". You may also need to set IP of host server when you need download android code in your company.

2. build

sudo docker-compose up --build

Also you can use another docker file "Dockerfile2" which will use my already built image on docker hub to replace "Dockerfile".

3. ssh settings

After docker build, there are ssh key files in folder ssh. You can also replace them with your keys. Pay attention to the permission of key files, use following command

chmod 600 ~/.ssh/*

to change permission when you use the docker image.

4. download code

Download your code in path /home/android/code which is a share folder from outside.

5. run docker

sudo docker-compose run build_env

About

docker environment for build android AOSP code version "O"

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published