File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ "Bazel dependencies"
2+
3+ bazel_dep(name = "aspect_bazel_lib", version = "2.8.1")
4+ bazel_dep(name = "container_structure_test", version = "1.16.0")
5+ bazel_dep(name = "rules_jvm_external", version = "5.3")
6+ bazel_dep(name = "rules_oci", version = "1.4.0")
7+ bazel_dep(name = "rules_java", version = "7.11.1")
8+
9+ maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
10+ maven.install(
11+ artifacts = [
12+ "junit:junit:4.12",
13+ "com.google.guava:guava:28.0-jre",
14+ ],
15+ fetch_sources = True,
16+ repositories = [
17+ "http://uk.maven.org/maven2",
18+ "https://jcenter.bintray.com/",
19+ ],
20+ )
21+ use_repo(maven, "maven")
22+
23+ oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
24+ oci.pull(
25+ name = "distroless_java",
26+ digest = "sha256:161a1d97d592b3f1919801578c3a47c8e932071168a96267698f4b669c24c76d",
27+ image = "gcr.io/distroless/java17",
28+ )
29+ use_repo(oci, "distroless_java")
You can’t perform that action at this time.
0 commit comments