Skip to content

v0.1.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 26 Feb 19:36
· 75 commits to main since this release
d48edb4

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_distroless", version = "0.1.6")

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 = "08eeee56f857da3bb6f77d67f8246a1c4d50764debfbc8802a198f3997a3ae7c",
    strip_prefix = "rules_distroless-0.1.6",
    url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.1.6/rules_distroless-v0.1.6.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", "rules_distroless_dependencies")

rules_distroless_dependencies()

What's Changed

  • chore: make rules_distroless generate no diff by @thesayyn in #19

Full Changelog: v0.1.5...v0.1.6