v0.3.3
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.3.3")
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 = "f3f1563a28158ae979c7499714dde84f8273ea890fd138d77a18eb497acd1434",
strip_prefix = "rules_distroless-0.3.3",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.3/rules_distroless-v0.3.3.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: improve parsing of Package.gz metadata, matching Debian parser logic by @alexconrey in #43
- Fix for packages sharing the same dependencies by @jacobshirley in #32
- fix: trim trailing '/' on URL if provided in package YAML by @alexconrey in #45
- feat: support apt colon arch syntax by @NotBobTheBuilder in #38
- support zstd compressed {control,data}.tar files by @lazcamus in #41
- fix package
:data
visibility so it's compatible withcacerts()
by @lazcamus in #44 - chore: add an example for snapshot.ubuntu.com by @thesayyn in #47
- docs: fix typos and restructure sentences by @thesayyn in #48
- Support Packages.gz indices by @mortenmj in #40
New Contributors
- @alexconrey made their first contribution in #43
- @NotBobTheBuilder made their first contribution in #38
- @lazcamus made their first contribution in #41
- @mortenmj made their first contribution in #40
Full Changelog: v0.3.2...v0.3.3