-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathWORKSPACE
55 lines (40 loc) · 1.59 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
workspace(name = "com_github_hxtk_rules_anchore")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
load("//:deps.bzl", "anchore_deps")
anchore_deps()
load("//:extra_deps.bzl", "anchore_extra_deps")
anchore_extra_deps()
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
load(
"@io_bazel_rules_docker//repositories:repositories.bzl",
container_repositories = "repositories",
)
container_repositories()
load("@io_bazel_rules_docker//repositories:deps.bzl", container_deps = "deps")
container_deps()
load(
"@io_bazel_rules_docker//container:container.bzl",
"container_pull",
)
container_pull(
name = "distroless_base",
digest = "sha256:1b2306a7c6e3a2693b730bd2697704650ba71bfa7ba55ee096e8734ae6473f66",
registry = "gcr.io",
repository = "distroless/base-debian11",
tag = "nonroot",
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
http_file(
name = "outdated_cve_database",
downloaded_file_path = "downloaded.tar.gz",
sha256 = "1ba68ee63e057d09a8529b603a4b85a38851258fe9625c1594014a3f1f6549a7",
urls = ["https://toolbox-data.anchore.io/grype/databases/vulnerability-db_v5_2023-02-25T08:13:48Z_053525c019d8fb8ae3e7.tar.gz"],
)
# com_github_hxtk_rules_anchore managed rule; DO NOT EDIT
http_file(
name = "grype_database",
downloaded_file_path = "downloaded.tar.gz",
sha256 = "00cf94c53ccceb8ec55a08418f190a090515b9d898ef0aa5cae437e29b26f5e0",
urls = ["https://toolbox-data.anchore.io/grype/databases/vulnerability-db_v5_2023-07-09T01:32:52Z_ce3efc2f77fd721e5c03.tar.gz"],
)