module( name = "gomud", repo_name = "code.ndumas.com_ndumas_gomud", ) bazel_dep(name = "gazelle", version = "0.32.0") bazel_dep(name = "rules_go", version = "0.41.0") bazel_dep(name = "rules_oci", version = "1.3.1") 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_engoengine_engo", "com_github_threedotslabs_watermill") oci = use_extension("@rules_oci//oci:extensions.bzl", "oci") oci.pull( name = "distroless_base", digest = "sha256:73deaaf6a207c1a33850257ba74e0f196bc418636cada9943a03d7abea980d6d", image = "gcr.io/distroless/base", platforms = [ "linux/amd64", "linux/arm", "linux/arm64", "linux/ppc64le", "linux/s390x", ], ) use_repo(oci, "distroless_base")