syzkaller/tools/docker
Alexander Egorenkov 86bd8f9d48 tools/create-image.sh: support for foreign architectures
Also update sy-env to be able to build the root image inside.

Signed-off-by: Alexander Egorenkov <Alexander.Egorenkov@ibm.com>
2020-09-13 16:05:25 +02:00
..
big-env tools/create-image.sh: support for foreign architectures 2020-09-13 16:05:25 +02:00
env tools/docker: mirror images on github 2020-09-12 16:26:58 +02:00
old-env tools/docker: mirror images on github 2020-09-12 16:26:58 +02:00
README.md tools/docker: mirror images on github 2020-09-12 16:26:58 +02:00

Docker images

We provide a set of Docker images that provide dev environment suitable for syzkaller development/testing. These images are used by CI, but can also be used for local development.

  • env includes Go toolchain, C/C++ cross-compilers, make, git and other essential tools.
  • big-env includes akaros/fuchsia/netbsd toolchains and gcloud sdk on top of env image.
  • old-env provides essential tools but based on an older disto (ubuntu:16.04).

These images are available as gcr.io/syzkaller/{env,big-env,old-env}, respectively.

To download and run locally:

docker pull gcr.io/syzkaller/env
docker run -it gcr.io/syzkaller/env

To build and push a new version:

docker build -t gcr.io/syzkaller/env tools/docker/env
gcloud auth login && gcloud auth configure-docker
docker push gcr.io/syzkaller/env

Also upload a copy to Github packages (some users don't have access to gcr.io):

docker tag gcr.io/syzkaller/env docker.pkg.github.com/google/syzkaller/env
docker login https://docker.pkg.github.com
docker push docker.pkg.github.com/google/syzkaller/env