Reproducible container builds on Ubuntu - Include phased updates
Daniel Nashed – 1 October 2026 20:07:45
Ubuntu is phasing out some updates and only send them to a fractions of the machines. Security updates are always included. For normal servers using phased updates is perfectly OK.
But for container builds it makes sense to always update all packages to have a reproducible build.
The command can be also used manually:
/usr/bin/apt-get -o APT::Get::Always-Include-Phased-Updates=true upgrade -y
I am adding it to the container build just for Ubuntu.
And I am cleaning up older versions for known distributions which are not available any more. Like Debian11 and Debian10 along with soon out of support Ubuntu 22.04 LTS
- Comments [0]