Releases: GoogleContainerTools/rules_distroless
Releases · GoogleContainerTools/rules_distroless
v0.1.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.1.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 = "a3692f952915960c6fa125caa9126935bc402c2f521d775ccb1f62e3142a7cc4",
strip_prefix = "rules_distroless-0.1.3",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.1.3/rules_distroless-v0.1.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", "rules_distroless_dependencies")
rules_distroless_dependencies()
What's Changed
- feat: implement java_keystore by @thesayyn in #9
- feat: implement home by @thesayyn in #10
- refactor: set mtime to 0 by @thesayyn in #11
- feat: implement flatten rule by @thesayyn in #12
Full Changelog: v0.1.1...v0.1.3
v0.1.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.1.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 = "ac23c7c09ccaa6c53a74ef2056cbd82800a9e2f36c7b2b1f5cef5fd2d82baf7b",
strip_prefix = "rules_distroless-0.1.2",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.1.2/rules_distroless-v0.1.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", "rules_distroless_dependencies")
rules_distroless_dependencies()
What's Changed
Full Changelog: v0.1.0...v0.1.2
v0.1.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.1.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 = "80273ad4e8b7e6f698a41c754cb13e396d55f129bc43094aed99c58ab9a0b287",
strip_prefix = "rules_distroless-0.1.1",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.1.1/rules_distroless-v0.1.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", "rules_distroless_dependencies")
rules_distroless_dependencies()
What's Changed
Full Changelog: v0.1.0...v0.1.1
v0.1.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.1.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 = "86738afb79dac5d6aed3ed32fcb5dac79c05fa6d61c4ee3a207ab5a0521975e8",
strip_prefix = "rules_distroless-0.1.0",
url = "https://github.com/GoogleContainerTools/rules_distroless/releases/download/v0.1.0/rules_distroless-v0.1.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", "rules_distroless_dependencies")
rules_distroless_dependencies()
What's Changed
- chore: copy files from the contrib templates by @thesayyn in #4
- feat: port cacerts rule by @thesayyn in #5
- feat: port locale rule by @thesayyn in #6
New Contributors
Full Changelog: https://github.com/GoogleContainerTools/rules_distroless/commits/v0.1.0