forked from buildfarm/buildfarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
56 lines (46 loc) · 1.64 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
workspace(name = "build_buildfarm")
# Needed for "well-known protos" and @com_google_protobuf//:protoc.
http_archive(
name = "com_google_protobuf",
sha256 = "cef7f1b5a7c5fba672bec2a319246e8feba471f04dcebfe362d55930ee7c1c30",
strip_prefix = "protobuf-3.5.0",
urls = ["https://github.com/google/protobuf/archive/v3.5.0.zip"],
)
# Needed for @grpc_java//compiler:grpc_java_plugin.
http_archive(
name = "grpc_java",
sha256 = "20a35772b20d8194854f6d149324f971472b7acc1a76a0969a048c4c02a1da0d",
strip_prefix = "grpc-java-1.8.0",
urls = ["https://github.com/grpc/grpc-java/archive/v1.8.0.zip"],
)
# The API that we implement.
new_http_archive(
name = "googleapis",
sha256 = "27ade61091175f5bad45ec207f4dde524d3c8148903b60fa5641e29e3b9c5fa9",
url = "https://github.com/googleapis/googleapis/archive/9ea26fdb1869d674fa21c92e5818ba4eadd500c2.zip",
strip_prefix = "googleapis-9ea26fdb1869d674fa21c92e5818ba4eadd500c2",
build_file = "BUILD.googleapis",
)
load("//3rdparty:workspace.bzl", "maven_dependencies", "declare_maven")
maven_dependencies(declare_maven)
git_repository(
name = "io_bazel_rules_docker",
remote = "https://github.com/bazelbuild/rules_docker.git",
tag = "v0.4.0",
)
load(
"@io_bazel_rules_docker//container:container.bzl",
"container_pull",
container_repositories = "repositories",
)
load(
"@io_bazel_rules_docker//java:image.bzl",
_java_image_repos = "repositories",
)
_java_image_repos()
container_pull(
name = "java_base",
registry = "gcr.io",
repository = "distroless/java",
digest = "sha256:625c3584876171c6d786d8d8a74b2aaceac06fef450e7fd7322247464f118aa9",
)