gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/shim/BUILD (about)

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