summaryrefslogtreecommitdiffhomepage
path: root/shim/BUILD
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2021-01-12 17:50:33 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-12 17:54:10 -0800
commit8b0f0b4d11e0938eec8da411323b2ce35976ab56 (patch)
treeaab8e37ca51133da5bfa4a055ea0dfa0bda514cf /shim/BUILD
parentbe2b9d75d75e0e7371cd868589d57f4ddee44781 (diff)
Delete shim v1
gvisor-containerd-shim is not compatible with containerd 1.1 or earlier. Starting from containerd 1.2, shim v2 is the preferred interface. PiperOrigin-RevId: 351485556
Diffstat (limited to 'shim/BUILD')
-rw-r--r--shim/BUILD12
1 files changed, 11 insertions, 1 deletions
diff --git a/shim/BUILD b/shim/BUILD
index 8d29c459b..434269d31 100644
--- a/shim/BUILD
+++ b/shim/BUILD
@@ -1,7 +1,17 @@
-load("//tools:defs.bzl", "pkg_tar")
+load("//tools:defs.bzl", "go_binary", "pkg_tar")
package(licenses = ["notice"])
+go_binary(
+ name = "containerd-shim-runsc-v1",
+ srcs = ["main.go"],
+ static = True,
+ visibility = [
+ "//visibility:public",
+ ],
+ deps = ["//shim/cli"],
+)
+
pkg_tar(
name = "config",
srcs = [