-
Notifications
You must be signed in to change notification settings - Fork 0
/
dummy
79 lines (60 loc) · 2.36 KB
/
dummy
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
git_repository(
name = "org_pubref_rules_protobuf",
remote = "https://github.com/pubref/rules_protobuf",
tag = "v0.7.2",
#commit = "..." # alternatively, latest commit on master
)
# ================================================================
# Go support requires rules_go
# ================================================================
git_repository(
name = "io_bazel_rules_go",
remote = "https://github.com/bazelbuild/rules_go.git",
tag = "0.5.2",
)
load("@io_bazel_rules_go//go:def.bzl", "go_repositories")
go_repositories()
# ================================================================
# node_proto_library support requires rules_node
# ================================================================
git_repository(
name = "org_pubref_rules_node",
commit = "85b720f3d4299b0a1b9c7771c023352e9182045f", # Oct 10, 2016
remote = "https://github.com/pubref/rules_node.git",
)
load("@org_pubref_rules_node//node:rules.bzl", "node_repositories")
node_repositories()
# ================================================================
# Specific Languages Support
# ================================================================
load("@org_pubref_rules_protobuf//protobuf:rules.bzl", "proto_repositories")
proto_repositories()
load("@org_pubref_rules_protobuf//java:rules.bzl", "java_proto_repositories")
java_proto_repositories()
load("@org_pubref_rules_protobuf//cpp:rules.bzl", "cpp_proto_repositories")
cpp_proto_repositories()
load("@org_pubref_rules_protobuf//go:rules.bzl", "go_proto_repositories")
go_proto_repositories()
load("@org_pubref_rules_protobuf//python:rules.bzl", "py_proto_repositories")
py_proto_repositories()
load("@org_pubref_rules_protobuf//node:rules.bzl", "node_proto_repositories")
node_proto_repositories()
###############################################################################
##################### Bazel Docker ###########################################
git_repository(
name = "io_bazel_rules_docker",
remote = "https://github.com/bazelbuild/rules_docker.git",
tag = "v0.1.0",
)
load(
"@io_bazel_rules_docker//docker:docker.bzl",
"docker_repositories", "docker_pull"
)
docker_repositories()
docker_pull(
name = "java_base",
registry = "gcr.io",
repository = "distroless/java",
# 'tag' is also supported, but digest is encouraged for reproducibility.
#digest = "sha256:deadbeef",
)