forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
58 lines (42 loc) · 1.67 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
workspace(name = "io_k8s_kubernetes")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
load("//build:workspace_mirror.bzl", "mirror")
http_archive(
name = "io_k8s_repo_infra",
sha256 = "7ad484dc5558432ca0666cff68bfc584d52fdb7d3e08905405182a631af56128",
strip_prefix = "repo-infra-0.0.4",
urls = [
"https://github.com/kubernetes/repo-infra/archive/0.0.4.tar.gz",
],
)
load("@io_k8s_repo_infra//:load.bzl", repo_infra_repositories = "repositories")
repo_infra_repositories()
load("@io_k8s_repo_infra//:repos.bzl", repo_infra_configure = "configure", repo_infra_go_repositories = "go_repositories")
repo_infra_configure(
go_version = "1.13.9",
minimum_bazel_version = "2.2.0",
)
repo_infra_go_repositories()
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")
container_pull(
name = "distroless_base",
digest = "sha256:7fa7445dfbebae4f4b7ab0e6ef99276e96075ae42584af6286ba080750d6dfe5",
registry = "gcr.io",
repository = "distroless/base",
tag = "latest", # ignored when digest provided, but kept here for documentation.
)
load("//build:workspace.bzl", "release_dependencies")
release_dependencies()
load("//build:workspace_mirror.bzl", "export_urls")
export_urls("workspace_urls")