2018-10-29 19:54:33 +00:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
|
2018-04-12 22:14:46 +00:00
|
|
|
load("//build:workspace_mirror.bzl", "mirror")
|
|
|
|
|
2017-05-15 22:51:18 +00:00
|
|
|
http_archive(
|
2019-01-31 23:47:31 +00:00
|
|
|
name = "bazel_skylib",
|
|
|
|
sha256 = "eb5c57e4c12e68c0c20bc774bfbc60a568e800d025557bc4ea022c6479acc867",
|
|
|
|
strip_prefix = "bazel-skylib-0.6.0",
|
|
|
|
urls = mirror("https://github.com/bazelbuild/bazel-skylib/archive/0.6.0.tar.gz"),
|
2017-05-15 22:51:18 +00:00
|
|
|
)
|
|
|
|
|
2019-01-31 23:47:31 +00:00
|
|
|
load("@bazel_skylib//lib:versions.bzl", "versions")
|
|
|
|
|
|
|
|
versions.check(minimum_bazel_version = "0.18.0")
|
2017-05-15 22:51:18 +00:00
|
|
|
|
2018-01-12 18:08:23 +00:00
|
|
|
http_archive(
|
2019-01-31 23:47:31 +00:00
|
|
|
name = "io_k8s_repo_infra",
|
2019-01-31 23:47:31 +00:00
|
|
|
sha256 = "2cc74219eafebb0af1e0cf80b9c2b78aac9aa570de762bfb82b83e9164be9da2",
|
|
|
|
strip_prefix = "repo-infra-b461270ab6ccfb94ff2d78df96d26f669376d660",
|
|
|
|
urls = mirror("https://github.com/kubernetes/repo-infra/archive/b461270ab6ccfb94ff2d78df96d26f669376d660.tar.gz"),
|
2018-01-12 18:08:23 +00:00
|
|
|
)
|
|
|
|
|
2017-05-15 22:51:18 +00:00
|
|
|
http_archive(
|
2019-01-31 23:47:31 +00:00
|
|
|
name = "io_bazel_rules_go",
|
2019-03-15 17:58:11 +00:00
|
|
|
sha256 = "6433336b4c5feb54e2f45df4c1c84ea4385b2dc0b6f274ec2cd5d745045eae1f",
|
|
|
|
urls = mirror("https://github.com/bazelbuild/rules_go/releases/download/0.17.2/rules_go-0.17.2.tar.gz"),
|
2017-05-15 22:51:18 +00:00
|
|
|
)
|
|
|
|
|
2019-01-31 23:47:31 +00:00
|
|
|
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
|
2017-05-15 22:51:18 +00:00
|
|
|
|
2017-09-18 22:29:04 +00:00
|
|
|
go_rules_dependencies()
|
|
|
|
|
|
|
|
go_register_toolchains(
|
2019-03-15 17:58:11 +00:00
|
|
|
go_version = "1.12.1",
|
2017-05-15 22:51:18 +00:00
|
|
|
)
|
|
|
|
|
2019-01-31 23:47:31 +00:00
|
|
|
http_archive(
|
|
|
|
name = "io_bazel_rules_docker",
|
|
|
|
sha256 = "aed1c249d4ec8f703edddf35cbe9dfaca0b5f5ea6e4cd9e83e99f3b0d1136c3d",
|
|
|
|
strip_prefix = "rules_docker-0.7.0",
|
|
|
|
urls = mirror("https://github.com/bazelbuild/rules_docker/archive/v0.7.0.tar.gz"),
|
|
|
|
)
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_docker//repositories:repositories.bzl",
|
|
|
|
container_repositories = "repositories",
|
|
|
|
)
|
|
|
|
|
|
|
|
container_repositories()
|
|
|
|
|
|
|
|
load("@io_bazel_rules_docker//container:container.bzl", "container_pull")
|
2017-05-15 22:51:18 +00:00
|
|
|
|
2019-01-31 23:47:31 +00:00
|
|
|
container_pull(
|
2017-06-23 07:03:40 +00:00
|
|
|
name = "official_busybox",
|
2018-08-27 20:07:29 +00:00
|
|
|
digest = "sha256:cb63aa0641a885f54de20f61d152187419e8f6b159ed11a251a09d115fdff9bd",
|
2017-06-23 07:03:40 +00:00
|
|
|
registry = "index.docker.io",
|
|
|
|
repository = "library/busybox",
|
|
|
|
tag = "latest", # ignored, but kept here for documentation
|
2017-06-02 01:00:24 +00:00
|
|
|
)
|
2018-04-12 22:14:46 +00:00
|
|
|
|
2019-02-08 22:42:10 +00:00
|
|
|
load("//build:workspace.bzl", "release_dependencies")
|
|
|
|
|
|
|
|
release_dependencies()
|
|
|
|
|
2018-04-12 22:14:46 +00:00
|
|
|
load("//build:workspace_mirror.bzl", "export_urls")
|
2018-05-01 23:26:01 +00:00
|
|
|
|
2018-04-12 22:14:46 +00:00
|
|
|
export_urls("workspace_urls")
|