4 Commits
Author SHA1 Message Date
Andrei VaginandgVisor bot 1092006d45 image/iptables: update the base image
ubuntu:mantic isn't LTS and it reached its eol,
so new images can't be built.
PiperOrigin-RevId: 703543488
2024-12-06 10:37:10 -08:00
Kevin KrakauerandgVisor bot e7e8d0f971 runsc: workaround for scraping nftables
This feature is flag-gated because it can increase runsc startup time by
spawning several child processes.

Testing is done via shell script rather than the usually-preferred Go Docker
API because `docker network create` installs a bunch of iptables rules, whereas
the analagous API calls do not.

PiperOrigin-RevId: 582848436
2023-11-15 16:53:23 -08:00
Kevin KrakauerandgVisor bot 83c032ae46 update the iptables test image to get a newer iptables binary
PiperOrigin-RevId: 581274930
2023-11-10 08:59:16 -08:00
Adin ScannellandgVisor bot c60613475c Standardize all Docker images.
This change moves all Docker images to a standard location, and abstracts the
build process so that they can be maintained in an automated fashion. This also
allows the images to be architecture-independent.

All images will now be referred to by the test framework via the canonical
`gvisor.dev/images/<name>`, where `<name>` is a function of the path within the
source tree.

In a subsequent change, continuous integration will be added so that the images
will always be correct and available locally.

In the end, using `bazel` for Docker containers is simply not possible. Given
that we already have the need to use `make` with the base container (for
Docker), we extend this approach to get more flexibility.

This change also adds a self-documenting and powerful Makefile that is intended
to replace the collection of scripts in scripts. Canonical (self-documenting)
targets can be added here for targets that understand which images need to be
loaded and/or built.

PiperOrigin-RevId: 308322438
2020-04-24 14:11:42 -07:00