docker-aosp
π Minimal Android AOSP build environment with handy automation wrapper scripts
File Explorer
Download Latest Version (.zip)- build-kitkat.sh
- build-lollipop.sh
- build-marshmallow.sh
- build-nougat.sh
- sync-kitkat.sh
- aosp
- docker_entrypoint.sh
- docker-compose.yml
- Dockerfile
- gitconfig
- LICENSE
- Makefile
- README.md
- ssh_config
# Installation Guide
1. Get the code
git clone https://github.com/kylemanna/docker-aosp
Downloads the entire project code from GitHub to your computer.
cd docker-aosp
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
2. Runs the `aosp` wrapper with an extra argument for the docker binary and
Type this command into your terminal and run it.
hints to the same script that when run later it's running in the docker
Type this command into your terminal and run it.
docker image if not found and forms all the necessary docker run
Runs the built image as an actual container.
4. The docker container runs the other half the build script which
Type this command into your terminal and run it.
curl -O https://raw.githubusercontent.com/kylemanna/docker-aosp/master/tests/build-nougat.sh
Type this command into your terminal and run it.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
