This repository holds a Dockerfile to provide the needed toolchain for building AOSP14+
- Install Docker CE and Docker-Compose on your host machine (recommended: Debian, 30GB+, 8 Cores, 250GB+ HDD)
- see https://docs.docker.com/engine/install/debian/ and https://docs.docker.com/compose/install/
- checkout repo and change
config/gitconfig
file using your full name and email docker-compose up -d --build
docker exec -it aosp_builder bash
This follows the normal AOSP approach, e.g.
repo init --depth=1 -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r14
repo sync -c --no-tags --no-clone-bundle -j$(nproc --all)
See also Android tags
This follows the normal AOSP approach, e.g.
source build/envsetup.sh
lunch aosp_car_arm64
rm -rf /aosp/out
(cleans build target folder)m -j$(nproc --all)
Use screen on your docker host if you connect via ssh
screen -S aosp
creates a screen sessionscreen -r aosp
attaches to a screen sessionscreen -d
orCTRL+a + CTRL+d
detaches a screen sessionexit
closes a screen session