Loading…
Topic
Container Build
1 post about Container Build. Every summary links to the original.
- 1 post
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Chasing CVEs: Lessons from a real container build using Red Hat Hardened Images
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.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.