Describe the enhancement:
dev-tools/packaging/templates/docker/Dockerfile.tmpl we have multiple instances where we apk/microdf update then add one or two packages then apk/microdnf clean. It would be more efficient to build one large list of all the packages that need to be installed and just do one round of update, install, clean.
Describe the enhancement:
dev-tools/packaging/templates/docker/Dockerfile.tmplwe have multiple instances where weapk/microdf updatethen add one or two packages thenapk/microdnf clean. It would be more efficient to build one large list of all the packages that need to be installed and just do one round of update, install, clean.