@@ -46,10 +46,10 @@ For the terribly impatient.
4646 5 . In parallel you are expected to be drinking because I save you some time.
4747
4848
49- mkdir kitkat ; cd kitkat
49+ mkdir marshmallow ; cd marshmallow
5050 export AOSP_VOL=$PWD
51- curl -O https://raw.githubusercontent.com/kylemanna/docker-aosp/master/tests/build-kitkat .sh
52- bash ./build-kitkat .sh
51+ curl -O https://raw.githubusercontent.com/kylemanna/docker-aosp/master/tests/build-marshmallow .sh
52+ bash ./build-marshmallow .sh
5353
5454How it Works
5555------------
@@ -70,12 +70,41 @@ Docker container. For example to run `repo sync` in the Docker container:
7070
7171The ` aosp ` wrapper doesn't work well with setting up environments, but with
7272some bash magic, this can be side stepped with short little scripts. See
73- ` tests/build-kitkat .sh ` for an example of a complete fetch and build of AOSP.
73+ ` tests/build-marshmallow .sh ` for an example of a complete fetch and build of AOSP.
7474
75+ [ Docker Compose] [ ]
76+ ------
77+
78+ A [ Docker Compose] [ ] file is provided in the root of this repository, you can tweak it as need be:
79+
80+ ``` yaml
81+ version : " 2"
82+
83+ services :
84+ aosp :
85+ image : kylemanna/aosp:6.0-marshmallow
86+ volumes :
87+ - /tmp/ccache:/ccache
88+ - ~/aosp:/aosp
89+ ` ` `
90+ Example run: ` docker-compose run --rm aosp repo sync -j4` -- your android build directory will be in `~/aosp`.
91+
92+ Issues
93+ ------
94+
95+ There are some known issues with using Docker Toolbox on macOS and current
96+ virtualization technologies resulting in unusual user ID assignments and very
97+ poor performing virtualization file sharing implementations with things like
98+ VirtualBox. It's recommended to run this image completely in a virtual machine
99+ with enough space to fit the entire build (80GB+) as opposed to mapping the
100+ build to the local macOS file system via VirtualBox or similar.
75101
76102Tested
77103------
78104
79- * Android Kitkat ` android-4.4.4_r2.0.1 `
105+ * Android KitKat `android-4.4.4_r2.0.1`
80106* Android Lollipop `android-5.0.2_r1`
81- * Android Marshmallow ` android-6.0.1_r72 `
107+ * Android Marshmallow `android-6.0.1_r80`
108+ * Android Nougat `android-7.0.0_r14`
109+
110+ [Docker Compose] : https://docs.docker.com/compose
0 commit comments