|
|
|
module(
|
|
|
|
name = "obsidian-markdown",
|
|
|
|
repo_name = "code.ndumas.com_ndumas_obsidian-markdown",
|
|
|
|
)
|
|
|
|
|
|
|
|
bazel_dep(name = "gazelle", version = "0.32.0")
|
|
|
|
bazel_dep(name = "rules_go", version = "0.41.0")
|
|
|
|
bazel_dep(name = "rules_oci", version = "1.2.0")
|
|
|
|
bazel_dep(name = "rules_pkg", version = "0.9.1")
|
|
|
|
|
|
|
|
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
|
|
|
|
go_deps.from_file(go_mod = "//:go.mod")
|
|
|
|
use_repo(go_deps, "com_github_stretchr_testify", "org_uber_go_zap")
|
|
|
|
|
|
|
|
|
|
|
|
oci = use_extension("@rules_oci//oci:extensions.bzl", "oci")
|
|
|
|
oci.pull(
|
|
|
|
name = "distroless_base",
|
|
|
|
tag = "latest",
|
|
|
|
image = "gcr.io/distroless/base-debian11",
|
|
|
|
)
|
|
|
|
|
|
|
|
# dependencies = use_extension("@rules_oci//oci:dependencies.bzl", "dependencies")
|
|
|
|
# dependencies.rules_oci_dependencies()
|
|
|
|
|
|
|
|
# use_repo(oci, "distroless_base")
|