2018-05-10 17:06:22 +00:00
|
|
|
# Load go bazel rules and gazelle.
|
2018-04-27 17:37:02 +00:00
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_go",
|
2018-08-28 16:20:17 +00:00
|
|
|
url = "https://github.com/bazelbuild/rules_go/releases/download/0.15.1/rules_go-0.15.1.tar.gz",
|
|
|
|
sha256 = "5f3b0304cdf0c505ec9e5b3c4fc4a87b5ca21b13d8ecc780c97df3d1809b9ce6",
|
2018-04-27 17:37:02 +00:00
|
|
|
)
|
2018-05-10 16:41:05 +00:00
|
|
|
http_archive(
|
|
|
|
name = "bazel_gazelle",
|
2018-08-09 01:06:18 +00:00
|
|
|
url = "https://github.com/bazelbuild/bazel-gazelle/releases/download/0.14.0/bazel-gazelle-0.14.0.tar.gz",
|
|
|
|
sha256 = "c0a5739d12c6d05b6c1ad56f2200cb0b57c5a70e03ebd2f7b87ce88cabf09c7b",
|
2018-05-10 16:41:05 +00:00
|
|
|
)
|
2018-05-10 17:06:22 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
|
|
|
go_rules_dependencies()
|
2018-08-28 16:20:17 +00:00
|
|
|
go_register_toolchains(go_version="1.11")
|
2018-05-10 17:06:22 +00:00
|
|
|
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
|
|
|
|
gazelle_dependencies()
|
2018-05-10 16:41:05 +00:00
|
|
|
|
2018-04-27 17:37:02 +00:00
|
|
|
# Add dependencies on external repositories.
|
2018-07-26 18:35:51 +00:00
|
|
|
go_repository(
|
|
|
|
name = "com_github_cenkalti_backoff",
|
|
|
|
importpath = "github.com/cenkalti/backoff",
|
|
|
|
commit = "66e726b43552c0bab0539b28e640b89fd6862115",
|
|
|
|
)
|
|
|
|
|
2018-04-27 17:37:02 +00:00
|
|
|
go_repository(
|
|
|
|
name = "com_github_google_go-cmp",
|
|
|
|
importpath = "github.com/google/go-cmp",
|
|
|
|
commit = "3af367b6b30c263d47e8895973edcca9a49cf029",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_google_subcommands",
|
|
|
|
importpath = "github.com/google/subcommands",
|
|
|
|
commit = "ce3d4cfc062faac7115d44e5befec8b5a08c3faa",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_google_uuid",
|
|
|
|
importpath = "github.com/google/uuid",
|
|
|
|
commit = "dec09d789f3dba190787f8b4454c7d3c936fed9e",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_kr_pty",
|
|
|
|
importpath = "github.com/kr/pty",
|
|
|
|
commit = "282ce0e5322c82529687d609ee670fac7c7d917c",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_opencontainers_runtime-spec",
|
|
|
|
importpath = "github.com/opencontainers/runtime-spec",
|
|
|
|
commit = "b2d941ef6a780da2d9982c1fb28d77ad97f54fc7",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_vishvananda_netlink",
|
|
|
|
importpath = "github.com/vishvananda/netlink",
|
|
|
|
commit = "d35d6b58e1cb692b27b94fc403170bf44058ac3e",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_vishvananda_netns",
|
|
|
|
importpath = "github.com/vishvananda/netns",
|
|
|
|
commit = "be1fbeda19366dea804f00efff2dd73a1642fdcc",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_net",
|
|
|
|
importpath = "golang.org/x/net",
|
|
|
|
commit = "b3c676e531a6dc479fa1b35ac961c13f5e2b4d2e",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "org_golang_x_sys",
|
|
|
|
importpath = "golang.org/x/sys",
|
|
|
|
commit = "0dd5e194bbf5eb84a39666eb4c98a4d007e4203a",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_repository(
|
|
|
|
name = "com_github_syndtr_gocapability",
|
|
|
|
importpath = "github.com/syndtr/gocapability",
|
|
|
|
commit = "33e07d32887e1e06b7c025f27ce52f62c7990bc0",
|
|
|
|
)
|