Implement image preseeding
This pulls in the infrastructure to build OCI bundles with Bazel and adds a loader to
load them into containerd at runtime.
Test Plan: New E2E test using a simple hello world Go image.
Bug: T793
X-Origin-Diff: phab/D585
GitOrigin-RevId: 3bc5e35a89a80a9683778ced72cc79e2d0b684ed
diff --git a/WORKSPACE b/WORKSPACE
index 6495590..98a8177 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -171,6 +171,20 @@
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.12.1/rules_docker-v0.12.1.tar.gz"],
)
+load(
+ "@io_bazel_rules_docker//repositories:repositories.bzl",
+ container_repositories = "repositories",
+)
+
+container_repositories()
+
+load(
+ "@io_bazel_rules_docker//go:image.bzl",
+ go_image_repos = "repositories",
+)
+
+go_image_repos()
+
# Derived from Mozilla NSS, currently needed for containerd to be able to pull images
http_file(
name = "cacerts",