Upgrade non-base images just before the end of their building
Fetching cached container images from the registry may result in out-dated images, so we need to make sure to run apt-get upgrade before the end of the building process.
Fetching cached container images from the registry may result in out-dated images, so we need to make sure to run apt-get upgrade before the end of the building process.