Kai Ole Hartwig
9 min read
By

New foundation, part 2: Eleven rejected candidates and a decision for openSUSE Tumbleweed

You rarely choose a base for container images twice. I had to do it within one quarter, and the second time I wanted to write the reasons down before deciding. The result is six requirements, eleven rejected candidates and a proof of concept that was green and still lost.

Part 2 of the series “New foundation”. Part 1 explains why I left Wolfi.

TL;DR

TL;DR: My golden images now stand on openSUSE Tumbleweed, with my own packages built from openSUSE's spec files in my own CI. I decided on 26 October 2026 against a written bar: glibc, arm64 and amd64, a scanner that reads the system packages, packages I can build myself, current versions, and no single vendor at the root. Eleven alternatives failed it. Nix got furthest and failed because trivy finds no system packages in a Nix image. The choice has a price: Tumbleweed's arm64 port runs behind the main branch, and I have been building roughly 40 to 60 packages myself since.

01 — The bar before the search

I had chosen the first base on the quality of the artefact. That the supplier would continue to exist and keep to agreements was written down nowhere as a dependency. After two failures in one quarter I reversed the order: requirements first, candidates second. The list comes from what my images already rely on today.

  1. glibc. FrankenPHP and the behaviour of locales and iconv in my images are built on it. That rules out every musl base for the runtime.
  2. arm64 and amd64. The cluster and the CI runners run on Graviton, so arm64. 18 of the 55 image repositories also publish amd64, the PHP runtime among them, because one customer platform runs it on its own amd64 server.
  3. The scanner reads the system packages. My gate is trivy. The statement “this is in the image, and this is who patched it” only holds if the scanner sees the package database.
  4. Packages I can build myself. I build PHP myself anyway, as a ZTS build for FrankenPHP. That has to be possible on the new base at reasonable cost.
  5. Current versions and fast fixes. That was Wolfi's strength. A pin that lags is a CVE fix that lags.
  6. No single vendor at the root. If a supplier disappears, I want to lose a source and not the foundation.

The sixth point is the one I had never written down before. It sorted out most of the candidates.

02 — Eleven candidates and why each dropped out

None of the eleven is a bad product. Each misses at least one point on the list, and for most it is the same one.

CandidateReason for rejection
Docker Hardened ImagesAnother vendor catalogue. That is the same shape of dependency I am leaving.
Ubuntu with ChiselCanonical as a single vendor. Security fixes for universe require Ubuntu Pro. There are no slices for ImageMagick or perl, and I need both.
Debian stableCommunity-run and easy to trace, and snapshot.debian.org would make pinning simple. But the versions lag: Node 20 in trixie against Node 24 in my CI image. Maintaining my own .deb packages would be the heaviest route of all the candidates.
Red Hat Hummingbird and UBIA vendor catalogue again.
VMware Photon OSTechnically the closest to Wolfi: current versions, trivy support, snapshots. But it belongs to Broadcom, and how the Bitnami catalogue was handled is exactly the risk I am avoiding. Photon 5.0 has been the newest release since 2023, and exiftool, qpdf, yq and brotli are missing.
Nix (nixpkgs)PoC built and green, failed at the scanner. More in the next section.
Static FrankenPHP on a minimal baseRemoves the PHP package chain but not the distribution: ImageMagick, exiftool with perl, qpdf, locales and tzdata remain. Statically linked libraries are also invisible in trivy's package view.
AlmaLinux 10 with my own RPM repositoryThe strongest stable alternative: run by a foundation, arm64 a full architecture, trivy support. The versions are older, and ImageMagick, exiftool and qpdf come from EPEL. AlmaLinux remains my fallback.
Arch LinuxThe simplest package format, but no official aarch64.
Fedora and Voidtrivy supports neither for system packages.
Amazon Linux 2023Fits the AWS environment. But EPEL is unsupported, and image libraries such as libvips are not in its repositories.

For four of the eleven, the single vendor is the reason for rejection. A year ago I would not have asked about that. Today it is the first question.

03 — Nix: a green PoC without a scanner

I did not reject Nix at my desk. The proof of concept ran through, and it had a real advantage: nixpkgs already ships FrankenPHP with embed and ZTS. My entire PHP package chain would have shrunk to a single override.

It failed on requirement three. trivy detects no system packages in a Nix image. The image could be scanned with syft and grype, but the result was not usable: 14 of the 31 matches were CVEs that nixpkgs had long since patched without changing the version number. I would have had to refute each of those matches with a VEX statement derived from the patches of the derivation in question.

Then there was the size. The image came to 1.21 GB, and sbomnix could not be built on nixos-unstable that day.

A scanner that sees nothing reports nothing. That looks like a clean image and is not one. I have written a separate post about this pattern: Zero findings because the scanner saw nothing.

04 — The decision for Tumbleweed

openSUSE Tumbleweed meets the list with one restriction, which I will come to. It is a rolling-release distribution on glibc with current versions. trivy supports it and matches against openSUSE's advisories. The project is carried by a community, and the spec files of all packages are open.

The second part of the decision concerns my own packages. I build them from openSUSE's spec files, with the build tool of the Open Build Service, but in my own CI and with my own signing key. I rejected the hosted Open Build Service. There, builds and key would again sit on someone else's infrastructure.

A package that openSUSE does not build the way I need it is therefore a branch of the existing spec with a small diff. For PHP that is three configure flags. On Wolfi it was around 60 recipes of my own. Part 3 shows what that looks like in detail.

I measured on 26 October on the PHP runtime, with the unchanged checks of the existing image as the acceptance test:

WolfiTumbleweed, assembled into FROM scratch
Image size922 MB574 MB
Package manager in the imagenonenone
Checksgreengreen
Detected by trivywolfiopensuse-tumbleweed, 209 packages

The restriction: the arm64 port

On aarch64, Tumbleweed is a port with its own cadence. On the day I measured, x86_64 was at the snapshot of 24 October and aarch64 at that of 20 October. A published fix for the CA bundle was already on x86_64 and not yet on aarch64. trivy reported it as HIGH in the arm64 image.

My cluster runs on arm64. So the restriction hits every image. I accepted it deliberately because I build things myself anyway: a fix the port does not have yet is a package for my own repository. How far that assumption carried is in part 5.

05 — The correction after two days

On 27 October, still on Wolfi, my nightly report stood at zero HIGH and zero MEDIUM. On 28 October, with the first ten images moved, it showed 16 HIGH and 33 MEDIUM. All the new findings were in moved images.

The cause was not a worse distribution. openSUSE rebuilds a Go program when the program has a new version, not when Go or one of its modules gets a fix. Wolfi rebuilds on every Go release. The story is in A Go fix is not a package fix.

Two days after the decision I was facing it again. Going back to Wolfi would have left the reason for leaving in place. Measuring another glibc base would have raised the same Go question. I stayed and extended the rule: every Go, Rust and Python program in an image is my own package, built from the upstream tag with the current Go. openSUSE supplies the C libraries and the base system, and those scanned no worse than before.

That fixes the price. It is of the order of 40 to 60 spec files, each rebuilt on two architectures at every Go release. This is the maintenance Wolfi did for me. Now I do it.

06 — The points for deciding again

A decision without exit criteria is a habit. So I wrote three points down with it.

  1. The arm64 port's lag regularly exceeds a week, or a critical fix waits there longer than my own rebuild would take. Then AlmaLinux 10 is the fallback.
  2. trivy drops or degrades its support for Tumbleweed.
  3. My repository needs more than small diffs on openSUSE specs.

The third point occurred after two days, with the Go programs. I recalculated and stayed. The first occurred on 3 November: the port stood still for two weeks. There was an answer to that inside Tumbleweed as well, and it is in part 5. If one day the fixes are missing there too, AlmaLinux comes back onto the table.

Recommendations

  1. Write the bar down before you look at candidates. Take the requirements from what your images need today, not from comparison tables.
  2. Treat the supplier as a requirement of its own. Who owns the base, who builds it, and what happens if they stop or change their rules?
  3. Test every candidate with your scanner. An image in which the scanner detects no operating system passes every gate.
  4. Ask who rebuilds what, and when. For Go programs that question decides the scan, and comparison tables do not contain it.
  5. Write the exit criteria down too. With thresholds you can measure and a named fallback.

Conclusion

Tumbleweed was not the most comfortable candidate. A catalogue that hands me finished, hardened images would have been more comfortable. I had exactly that, twice. The new base costs me maintenance that a supplier used to do, and in return there is no longer a company at the root of my images whose next decision I do not know.

Whether that pays off depends on how much you build yourself. If you maintain your own packages anyway, the surcharge is small. If you do not, ask yourself first what you are actually entrusting to your vendor's catalogue.

Next, part 3: PHP from the openSUSE spec, with ZTS, without Zend Signals and with a fault that only the server start reveals.

I check which suppliers your container images really stand on.

Base images, package sources and update paths. At the end you know which dependency at the lowest layer carries your risk and how to make it replaceable.

Book a call →

About the author

Photo of Kai Ole Hartwig.

Kai Ole Hartwig

Freelance DevSecOps consultant · OnlyOle Consulting

Programming since 2002 – self-taught, set up my own business with KO-Web in 2012. Over 100 projects, with a focus on security, performance, automation and quality. Today freelance: DevSecOps consulting, training and software development.

Newsletter

The week, in one email.

The new advisories and posts, once a week and briefly put in context. You will get a confirmation email first, and opens and clicks are only counted anonymously.

Language