Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,23 @@ The `aosp` wrapper doesn't work well with setting up environments, but with
some bash magic, this can be side stepped with short little scripts. See
`tests/build-nougat.sh` for an example of a complete fetch and build of AOSP.

[Docker Compose][]
------

A [Docker Compose][] file is provided in the root of this repository, you can tweak it as need be:

```yaml
version: "2"

services:
aosp:
image: kylemanna/aosp:latest
volumes:
- /tmp/ccache:/ccache
- ~/aosp:/aosp
```
Example run: `docker-compose run --rm aosp repo sync -j4` -- your android build directory will be in `~/aosp`.

Issues
------

Expand All @@ -89,3 +106,5 @@ Tested
* Android Lollipop `android-5.0.2_r1`
* Android Marshmallow `android-6.0.1_r79`
* Android Nougat `android-7.0.0_r14`

[Docker Compose]: https://docs.docker.com/compose
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: "2"

services:
aosp:
image: kylemanna/aosp:latest
volumes:
- /tmp/ccache:/ccache
- ~/aosp:/aosp
- ~/.gitconfig:/root/.gitconfig