1# Experimental Setup on Minimal Container to Build crosvm in chromeOS Tree 2 3This folder contains a setup to build a container that includes initialized cros_sdk and precompiled 4dependencies of crosvm to speed up process of develop and test crosvm in the chromeOS tree. 5Currently, we aim to produce a fresh cros_container every week (about 20GB in size). 6 7## Usage Instruction 8 9This container need to be built with `docker buildx` for its support of insecure builder (equivalent 10to `docker run --priviliged` but for build) which is required for `cros_sdk` due to its usage of 11multiple linux namespaces and chroot. 12 13Individual commands from the `cloudbuild.yaml` files can be executed locally. Note you need 14permission to access crosvm's Google Cloud project to push the container into artifact registry. For 15people without access but plan to push the finished container to a container registry, please 16substitute `gcr.io/crosvm-infra/crosvm_cros_cloudbuild` with your own container name. 17 18To use it in Cloud Build, run `gcloud builds submit --config=cloudbuild.yaml` in your command line 19with this folder as working directory. 20