Podman Compatible: packages can be built with Podman as well.
The build image command must be run at the root of the android-cuttlefish repo directory.
Enabling Docker BuildKit is required on Docker version below 23.0 to build this image.
docker build \
--file "tools/buildutils/cw/Containerfile" \
--tag "android-cuttlefish-build:latest" \
.
The run container command must be run at the root of the android-cuttlefish repo directory.
docker run -v=$PWD:/mnt/build -w /mnt/build android-cuttlefish-build:latest base
Persist bazel cache among executions.
docker run -v=$HOME/.cache/bazel:/root/.cache/bazel -v=$PWD:/mnt/build -w /mnt/build android-cuttlefish-build:latest base
docker run -v=$PWD:/mnt/build -w /mnt/build android-cuttlefish-build:latest container
docker run -v=$PWD:/mnt/build -w /mnt/build android-cuttlefish-build:latest frontend