v0.2.1
Pre-release
Pre-release
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_distroless", version = "0.2.1")
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_distroless",
sha256 = "26114c00e7a5aab87bc12660820264c00b00a07ad13966fdedbffd1e112e6b7d",
strip_prefix = "rules_distroless-0.2.1",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.2.1/rules_distroless-v0.2.1.tar.gz",
)
######################
# rules_distroless setup #
######################
# Fetches the rules_distroless dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@rules_distroless//distroless:dependencies.bzl", "distroless_dependencies")
distroless_dependencies()
What's Changed
- fix: add /etc folder by @thesayyn in #24
- fix: make locale and java_keystore match by @thesayyn in #25
- chore: upgrade bazel-lib by @thesayyn in #26
Full Changelog: v0.2.0...v0.2.1