Skip to content

Commit

Permalink
Add documentation about building docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
0405ysj committed May 8, 2024
1 parent 387dd28 commit 2373d92
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,29 @@ The following script can be used to build a host image for Google Compute Engine

[Check out the AOSP tree](https://source.android.com/setup/build/downloading)
to obtain the script.

## Docker

We also provide the docker image which installed cuttlefish debian packages inside; including `cuttlefish-base`, `cuttlefish-user`, and `cuttlefish-orchestration`.

### Build docker image manually

Please run below command to build manually.

```bash
cd /path/to/android-cuttlefish
cd docker/arm-server
./build.sh
```

You can validate if the docker image is successfully built by checking `cuttlefish-arm64` in `docker image list` like below.
```
$ docker image list
REPOSITORY TAG IMAGE ID CREATED SIZE
cuttlefish-arm64 latest 0123456789ab 2 minutes ago 690MB
...
```

### Download prebuilt image

Sorry for inconvenience, currently it's not supported yet.

0 comments on commit 2373d92

Please sign in to comment.