DL3041 - Avoid dnf upgrade or update in Dockerfiles

Running dnf upgrade or dnf update (and their microdnf equivalents) updates all packages and can break reproducibility. Use a newer base image or install specific packages with pinned versions instead.

(c) 2025 Asymmetric Effort, LLC. scaldwell@asymmetric-effort.com Asymmetric Effort logo