-
Notifications
You must be signed in to change notification settings - Fork 14
/
WORKSPACE
79 lines (59 loc) · 2.68 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# register python toolchain https://github.com/bazelbuild/bazel/issues/7899
register_toolchains("//:python_toolchain")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_go",
sha256 = "f04d2373bcaf8aa09bccb08a98a57e721306c8f6043a2a0ee610fd6853dcde3d",
urls = [
"https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz",
],
)
http_archive(
name = "bazel_gazelle",
sha256 = "3c681998538231a2d24d0c07ed5a7658cb72bfb5fd4bf9911157c0e9ac6a2687",
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.17.0/bazel-gazelle-0.17.0.tar.gz"],
)
http_archive(
name = "com_github_bazelbuild_buildtools",
sha256 = "0b91ee315743a210af49e78bb81c0b037981e43409be12433f7456c9331f9997",
strip_prefix = "buildtools-eb1a85ca787f0f5f94ba66f41ee66fdfd4c49b70",
# version 0.26.0
url = "https://github.com/bazelbuild/buildtools/archive/eb1a85ca787f0f5f94ba66f41ee66fdfd4c49b70.zip",
)
http_archive(
name = "io_bazel_rules_docker",
sha256 = "aed1c249d4ec8f703edddf35cbe9dfaca0b5f5ea6e4cd9e83e99f3b0d1136c3d",
strip_prefix = "rules_docker-0.7.0",
urls = ["https://github.com/bazelbuild/rules_docker/archive/v0.7.0.tar.gz"],
)
http_archive(
name = "com_github_atlassian_bazel_tools",
sha256 = "e4737fd3636d23f12cd3f9880b1cfa75c1bbdd4a967852785e227f3b0ab11844",
strip_prefix = "bazel-tools-7d296003f478325b4a933c2b1372426d3a0926f0",
urls = ["https://github.com/atlassian/bazel-tools/archive/7d296003f478325b4a933c2b1372426d3a0926f0.zip"],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies")
go_rules_dependencies()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains")
go_register_toolchains(
go_version = "1.11.5",
nogo = "@//:nogo_vet",
)
load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_dependencies")
buildifier_dependencies()
load("@com_github_atlassian_bazel_tools//goimports:deps.bzl", "goimports_dependencies")
goimports_dependencies()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
load("@io_bazel_rules_docker//repositories:repositories.bzl", container_repositories = "repositories")
container_repositories()
load("@io_bazel_rules_docker//container:container.bzl", "container_pull")
# Pull base image fedora28
container_pull(
name = "fedora",
digest = "sha256:9c78c69f748953ba8fdb6eb9982e1abefe281d9b931a13f251eb8aec988353de",
registry = "index.docker.io",
repository = "library/fedora",
#tag = "30",
)