Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ test --test_env=WORKSPACE_DIR
test --test_env=PATH
test --test_env=JAVA_HOME

# Needed for local Maven/npm genrules (pipeline_jars, generate-openapi)
build --action_env=PATH
build --action_env=JAVA_HOME
build --action_env=HOME

# Used by //pipeline:generate-openapi genrule which needs PATH/JAVA_HOME to find mvn.
# Applied only when explicitly passed: bazel build --config=openapi //pipeline:generate-openapi
build:openapi --action_env=PATH
Expand Down
6 changes: 6 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")

sh_binary(
name = "docker",
srcs = ["docker.sh"],
)
12 changes: 12 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
bazel_dep(name = "rules_java", version = "9.9.0")
bazel_dep(name = "rules_shell", version = "0.6.1")
bazel_dep(name = "rules_oci", version = "2.3.5")
bazel_dep(name = "rules_pkg", version = "1.0.1")
bazel_dep(name = "aspect_bazel_lib", version = "2.22.5")

oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
oci.pull(
name = "eclipse_temurin_jdk17",
image = "index.docker.io/library/eclipse-temurin",
tag = "17-jdk",
platforms = ["linux/arm64/v8"],
)
use_repo(oci, "eclipse_temurin_jdk17", "eclipse_temurin_jdk17_linux_arm64_v8")
Loading
Loading