---
title: "Container Build"
description: "1 posts about Container Build, summarised, each linking to the original."
---

# Container Build
> 1 posts about Container Build, summarised, each linking to the original.

## Articles

### [Chasing CVEs: Lessons from a real container build using Red Hat Hardened Images](https://yomu.fyi/post/chasing-cves-lessons-from-a-real-container-build-using-red-hat-hardene.md)
- Company: [Red Hat](https://yomu.fyi/company/red-hat.md)
- Author: Matt Micene
- Published: Nov 24, 2026
- Type: Tutorial

After Red Hat Hardened Images launched, the author migrated a Pi-hole DNS sink container to the core-runtime image, aiming for the smallest starting footprint for a dynamically linked application. Multi-stage builds separated the build stage, which used the core-runtime:builder image with dnf, from the final stage that only received application files and runtime dependencies like Bash. The RUN –mount type=bind option mounted the builder image at /builder and ran dnf from that path, correctly updating the rpmdb in the final stage without the package duplication that occurs with the installroot pattern. Busybox symlinks required manual creation because Red Hat’s packaging does not create them; the author initially used explicit calls but later created all symlinks at build time to simplify maintenance. Renovatebot tracked upstream Pi-hole releases, the core-runtime base image, and added RPMs like Busybox, automatically creating pull requests for updates.
