Previous versions of the base CentOS images (from which our images are based) had issues around the overlayfs backend used when building new images. The workaround at the time was to only run yum once.
According to Overlayfs and yum the more recent base CentOS images have the required yum-plugin-ovl installed and enabled, fixing the problems that led to the workaround being applied originally.
As a result, the large yum command in the Dockerfile could be broken down into smaller yum commands for clarity sake. It may also speed up docker pull commands by having more, smaller, layers in the image.
Previous versions of the base CentOS images (from which our images are based) had issues around the
overlayfsbackend used when building new images. The workaround at the time was to only run yum once.According to Overlayfs and yum the more recent base CentOS images have the required
yum-plugin-ovlinstalled and enabled, fixing the problems that led to the workaround being applied originally.As a result, the large yum command in the Dockerfile could be broken down into smaller yum commands for clarity sake. It may also speed up
docker pullcommands by having more, smaller, layers in the image.