summaryrefslogtreecommitdiffhomepage
path: root/test/image/BUILD
blob: 09b0a0ad508c0f2f9d9aeb5ce69c8c6f32e8ac1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
load("@io_bazel_rules_go//go:def.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",
    ],
    embed = [":image"],
    tags = [
        # Requires docker and runsc to be configured before the test runs.
        "manual",
        "local",
    ],
    visibility = ["//:sandbox"],
    deps = [
        "//runsc/dockerutil",
        "//runsc/testutil",
    ],
)

go_library(
    name = "image",
    srcs = ["image.go"],
    importpath = "gvisor.dev/gvisor/test/image",
)