Announcing rules_img: a faster path to container images in Bazel

11 points by typesanitizer


jmmv

Strongly recommend watching the BazelCon 2025 talk on rules_img: https://youtu.be/biYXmAv4Ppk to easily understand how it differs from previous rulesets.

dijit

interesting, I actually already love the container story for Bazel.

It was Bazel that made my mindset shift from “docker is a series of layers on top of each other” to: “Docker containers are a collection of layers that can be in any order or swapped out”.

This was a mindblowing distinction, even though I’m aware that the docker format is just tarballs and metadata, because it mean that creating a “debug” container was just having my debug tools in a layer and then assembling two builds of my images.

idk, I can’t explain it, it was a really lovely feeling.. it felt composable instead of instructive.