summaryrefslogtreecommitdiffhomepage
path: root/shim/v1/BUILD
blob: 7b837630cc8748d0217c2121fb90a519d999bb58 (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
35
36
37
38
39
40
41
load("//tools:defs.bzl", "go_binary")
load("//website:defs.bzl", "doc")

package(licenses = ["notice"])

go_binary(
    name = "gvisor-containerd-shim",
    srcs = [
        "api.go",
        "config.go",
        "main.go",
    ],
    static = True,
    visibility = [
        "//visibility:public",
    ],
    deps = [
        "//pkg/shim/runsc",
        "//pkg/shim/v1/shim",
        "@com_github_burntsushi_toml//:go_default_library",
        "@com_github_containerd_containerd//events:go_default_library",
        "@com_github_containerd_containerd//namespaces:go_default_library",
        "@com_github_containerd_containerd//runtime/v1/shim/v1:go_default_library",
        "@com_github_containerd_containerd//sys:go_default_library",
        "@com_github_containerd_containerd//sys/reaper:go_default_library",
        "@com_github_containerd_ttrpc//:go_default_library",
        "@com_github_containerd_typeurl//:go_default_library",
        "@com_github_gogo_protobuf//types:go_default_library",
        "@org_golang_x_sys//unix:go_default_library",
    ],
)

doc(
    name = "doc",
    src = "README.md",
    category = "User Guide",
    permalink = "/docs/user_guide/gvisor-containerd-shim/",
    subcategory = "Advanced",
    visibility = ["//website:__pkg__"],
    weight = "93",
)