Releases: GoogleContainerTools/rules_distroless
Releases · GoogleContainerTools/rules_distroless
v0.3.8
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.8")
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 = "6d1d739617e48fc3579781e694d3fabb08fc6c9300510982c01882732c775b8e",
strip_prefix = "rules_distroless-0.3.8",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.8/rules_distroless-v0.3.8.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()
load("@rules_distroless//distroless:toolchains.bzl", "distroless_register_toolchains")
distroless_register_toolchains()
load("@rules_distroless//apt:index.bzl", "deb_index")
# bazel run @bullseye//:lock
deb_index(
name = "bullseye",
lock = "@@//:bullseye.lock.json",
manifest = "//:bullseye.yaml",
)
load("@bullseye//:packages.bzl", "bullseye_packages")
bullseye_packages()
What's Changed
- fix: target_compatible_with excluding arm64 by @jjmaestro in #84
- feat: support multiple components by @jjmaestro in #85
- Revert "fix cacert() to work with openssl's defaults #71" by @loosebazooka in #101
- fix: Debian packages with tar.gz data file by @jjmaestro in #99
New Contributors
- @jjmaestro made their first contribution in #84
Full Changelog: v0.3.7...v0.3.8
v0.3.7
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.7")
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 = "44c1e485723ad342212b48e410bae50306b5f8b39da65243e1db2f5b74faa8d6",
strip_prefix = "rules_distroless-0.3.7",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.7/rules_distroless-v0.3.7.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()
load("@rules_distroless//distroless:toolchains.bzl", "distroless_register_toolchains")
distroless_register_toolchains()
load("@rules_distroless//apt:index.bzl", "deb_index")
# bazel run @bullseye//:lock
deb_index(
name = "bullseye",
lock = "@@//:bullseye.lock.json",
manifest = "//:bullseye.yaml",
)
load("@bullseye//:packages.bzl", "bullseye_packages")
bullseye_packages()
What's Changed
- Update README.md by @loopingz in #78
- fix
cacert()
to work with openssl's defaults by @lazcamus in #71 - fix: locking with bzlmod by @thesayyn in #73
- ci: update ci and exclude windows by @thesayyn in #82
- ci: update release pipeline by @thesayyn in #83
New Contributors
Full Changelog: v0.3.6...v0.3.7
v0.3.6
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.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 = "8a3440067453ad211f3b34d4a8f68f65663dc5fd6d7834bf81eecf0526785381",
strip_prefix = "rules_distroless-0.3.6",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.6/rules_distroless-v0.3.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", "distroless_dependencies")
distroless_dependencies()
load("@rules_distroless//distroless:toolchains.bzl", "distroless_register_toolchains")
distroless_register_toolchains()
load("@rules_distroless//apt:index.bzl", "deb_index")
# bazel run @bullseye//:lock
deb_index(
name = "bullseye",
lock = "@@//:bullseye.lock.json",
manifest = "//:bullseye.yaml",
)
load("@bullseye//:packages.bzl", "bullseye_packages")
bullseye_packages()
What's Changed
Full Changelog: v0.3.5...v0.3.6
v0.3.5
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.5")
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 = "f6c47d040b7b7bf9f49890b92d4c905665b6dd78d730f36d3b2bc1d314704ea7",
strip_prefix = "rules_distroless-0.3.5",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.5/rules_distroless-v0.3.5.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()
load("@rules_distroless//distroless:toolchains.bzl", "distroless_register_toolchains")
distroless_register_toolchains()
load("@rules_distroless//apt:index.bzl", "deb_index")
# bazel run @bullseye//:lock
deb_index(
name = "bullseye",
lock = "@@//:bullseye.lock.json",
manifest = "//:bullseye.yaml",
)
load("@bullseye//:packages.bzl", "bullseye_packages")
bullseye_packages()
What's Changed
- Return extension_metadata from apt extension by @mortenmj in #60
- Fail on manifest duplicate packages by @ericlchen1 in #61
- fix: auto-setting lock attribute on deb_index by @alexeagle in #63
- fix: apt.deb_index should work without a lock by @thesayyn in #70
New Contributors
- @ericlchen1 made their first contribution in #61
Full Changelog: v0.3.4...v0.3.5
v0.3.4
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.4")
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 = "4c5e98aa15e3684b580ea2e2bc8b95bac6e23a26b25ec8747c39e74ced2305da",
strip_prefix = "rules_distroless-0.3.4",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.4/rules_distroless-v0.3.4.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()
load("@rules_distroless//apt:index.bzl", "deb_index")
# bazel run @bullseye//:lock
deb_index(
name = "bullseye",
lock = "//:bullseye.lock.json",
manifest = "//:bullseye.yaml",
)
load("@bullseye//:packages.bzl", "bullseye_packages")
bullseye_packages()
What's Changed
- fix: evaluate return_code from rctx.execute() call when fetching package indexes by @alexconrey in #46
- docs: write the readme by @thesayyn in #49
- Update README.md by @loosebazooka in #52
- Update README.md by @alexeagle in #57
- Bzlmod support by @jacobshirley in #50
New Contributors
- @alexeagle made their first contribution in #57
Full Changelog: v0.3.3...v0.3.4
v0.3.3
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
v0.3.2
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.2")
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 = "4e5973bb00d15e5344b71b8d759a2369401d193d2e1f5d4a56f66347fcfd5c89",
strip_prefix = "rules_distroless-0.3.2",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.2/rules_distroless-v0.3.2.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 lockfiles in root of workspace by @jacobshirley in #33
- fix: always install highest version by @thesayyn in #35
New Contributors
- @jacobshirley made their first contribution in #33
Full Changelog: v0.3.1...v0.3.2
v0.3.1
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.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 = "d7ecb0d333b304d4954d8fb27567954871428b21103e4c0b65e30d66e0313e49",
strip_prefix = "rules_distroless-0.3.1",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.1/rules_distroless-v0.3.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
Full Changelog: v0.3.0...v0.3.1
v0.3.0
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.0")
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 = "26ef24dcbefe9630e88fe773201ff4149798e4e482bf166c9e6de063c687e6a1",
strip_prefix = "rules_distroless-0.3.0",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.3.0/rules_distroless-v0.3.0.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
Full Changelog: v0.2.1...v0.3.0
v0.2.1
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