mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
1481499fe2
This change adds a layer of abstraction around the internal Docker APIs, and eliminates all direct dependencies on Dockerfiles in the infrastructure. A subsequent change will automated the generation of local images (with efficient caching). Note that this change drops the use of bazel container rules, as that experiment does not seem to be viable. PiperOrigin-RevId: 308095430
34 lines
618 B
Python
34 lines
618 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
go_test(
|
|
name = "image_test",
|
|
size = "large",
|
|
srcs = [
|
|
"image_test.go",
|
|
],
|
|
data = [
|
|
"latin10k.txt",
|
|
"mysql.sql",
|
|
"ruby.rb",
|
|
"ruby.sh",
|
|
],
|
|
library = ":image",
|
|
tags = [
|
|
# Requires docker and runsc to be configured before the test runs.
|
|
"manual",
|
|
"local",
|
|
],
|
|
visibility = ["//:sandbox"],
|
|
deps = [
|
|
"//pkg/test/dockerutil",
|
|
"//pkg/test/testutil",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "image",
|
|
srcs = ["image.go"],
|
|
)
|