github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/shim/BUILD (about)

     1  load("//tools:defs.bzl", "go_binary", "pkg_tar")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_binary(
     6      name = "containerd-shim-runsc-v1",
     7      srcs = ["main.go"],
     8      static = True,
     9      tags = ["staging"],
    10      visibility = [
    11          "//visibility:public",
    12      ],
    13      deps = ["//shim/cli"],
    14  )
    15  
    16  pkg_tar(
    17      name = "config",
    18      srcs = [
    19          "runsc.toml",
    20      ],
    21      mode = "0644",
    22      package_dir = "/etc/containerd",
    23      visibility = [
    24          "//visibility:public",
    25      ],
    26  )