• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Dev Container
2
3This directory contains the dev container used by developers locally as well as the crosvm CI
4infrastructure.
5
6The container is defined by `tools/impl/dev_container/Dockerfile`, which will primarily run the
7`tools/install*` scripts to install all dependencies.
8
9To include new dependencies in the container, modify the corresponding install script and rebuild
10the container with:
11
12```
13make -C tools/impl/dev_container crosvm_dev
14```
15
16This will make the image available for testing locally with `tools/dev_container`. You may have to
17stop the previous container to pick up the new image `tools/dev_container --stop`.
18
19To upload the new version of the container, uprev the `version` file and run;
20
21```
22make -C tools/impl/dev_container upload
23```
24
25You need to be a Googler to be able to do so. See go/crosvm/infra for access control and
26authenticate via:
27
28```
29gcloud auth configure-docker gcr.io
30```
31