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/gitconfigfile using your full name and email docker-compose up -d --builddocker 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_r14repo 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.shlunch aosp_car_arm64rm -rf /aosp/out(cleans build target folder)m -j$(nproc --all)
Use screen on your docker host if you connect via ssh
screen -S aospcreates a screen sessionscreen -r aospattaches to a screen sessionscreen -dorCTRL+a + CTRL+ddetaches a screen sessionexitcloses a screen session