Skip to content

Commit 00ff5dc

Browse files
committed
Update docker/README.md to follow build step within container instance
1 parent 403b3d6 commit 00ff5dc

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

docker/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,16 @@ Please refer to
2525

2626
## Build docker image manually
2727

28-
Please run below command to build manually.
28+
To build docker image, building host debian packages for docker image is
29+
required. Please refer to
30+
[tools/buildutils/cw/README.md](../tools/buildutils/cw/README.md) for building
31+
host debian packages including `base` and `frontend`.
32+
33+
After retrieving host debian packages, please run below command to build
34+
manually.
2935

3036
```bash
3137
cd /path/to/android-cuttlefish
32-
tools/buildutils/build_packages.sh
3338
docker/image-builder.sh -m dev
3439
```
3540

tools/buildutils/cw/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66

77
The build image command must be run at the root of the `android-cuttlefish` repo directory.
88

9+
Enabling Docker [BuildKit](https://docs.docker.com/build/buildkit/) is required
10+
on Docker version below 23.0 to build this image.
11+
912
```
1013
docker build \
1114
--file "tools/buildutils/cw/Containerfile" \
1215
--tag "android-cuttlefish-build:latest" \
1316
.
1417
```
1518

16-
1719
## Build the package
1820

1921
The run container command must be run at the root of the `android-cuttlefish` repo directory.

0 commit comments

Comments
 (0)