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

Written by
Jacob Mammoliti
-
Solutions Architect
,
Published on

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.

Get Started
Subscribe to newsletter

Subscribe to receive the latest blog posts to your inbox every week.

By subscribing you agree to with our Privacy Policy.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Latest posts

2026 Gartner® Magic Quadrant™

for Software Supply Chain Security

Get the Report