Introducing a Bazel Ruleset for RapidFort’s deb-based Images

RapidFort has released a new Bazel ruleset, rules_rapidfort_deb, for building secure, minimal container images on deb-based Linux distributions.
Bazel is an open-source build and test tool designed for fast, reliable, and reproducible builds. It uses a declarative model where projects define their build targets and dependencies, allowing Bazel to understand what needs to be built, tested, or cached. Bazel can also be extended through plugins called rulesets, which add support for different languages, frameworks, platforms, and workflows.
Introducing rules_rapidfort_deb
rules_rapidfort_deb enables customers to build container images on deb-based Linux distributions using Bazel. The ruleset is designed to prioritize patched software provided by RapidFort when constructing an image, helping teams reduce vulnerability exposure while maintaining a reproducible build process.
For customers currently using rules_distroless, rules_rapidfort_deb can act as a drop-in replacement in your Bazel configuration.
Getting Started with rules_rapidfort_deb
rules_rapidfort_deb is available today and can be added to your MODULE.bazel file:
bazel_dep(name = "rules_rapidfort_deb", version = "0.1.0")
apt = use_extension("@rules_rapidfort_deb//apt:extensions.bzl", "apt")
apt.install(
name = "rf_noble",
lock = "//:noble.lock.json",
manifest = "//:noble.yaml",
)
use_repo(apt, "rf_noble")
To learn more about RapidFort and how it helps teams reduce vulnerability exposure
Log in to the RapidFort platform to access the full documentation for rules_rapidfort_deb and get started today.
Subscribe to receive the latest blog posts to your inbox every week.
Stay in touch
Subscribe for product updates and RapidFort newsletter.
Latest posts
Eliminate Attack Vectors at the Source
Continuously eliminate up to 99.9% of CVEs without code changes
Products
Use Case
Address
440 North Wolfe Road, Sunnyvale, CA 94085
Stay in touch
Subscribe for product updates and RapidFort newsletter.
© 2026 RapidFort, Inc.
RapidFort, RAPIDFORT, and RBOM are registered trademarks of RapidFort, Inc. All other marks and names mentioned herein may be trademarks of their respective companies.







