Why do we need that? When PHP is updated in the PHP Docker image, we will find out that there is Wordpress image (depending on PHP image). Simple rebuild of Wordpress image won't install PHP in the Wordpress image, because it takes it from the PHP image. We therefore have to rebuild PHP docker image and then Wordpress image.
To find out this order, we need to be able to inspect the parent images containing particular RPM and plan the rebuild in "batches" later. This PR implements a way how to find out the parents of particular image which need to be rebuilt to propagate the updated RPM down the Docker images stream.
Why do we need that? When PHP is updated in the PHP Docker image, we will find out that there is Wordpress image (depending on PHP image). Simple rebuild of Wordpress image won't install PHP in the Wordpress image, because it takes it from the PHP image. We therefore have to rebuild PHP docker image and then Wordpress image.
To find out this order, we need to be able to inspect the parent images containing particular RPM and plan the rebuild in "batches" later. This PR implements a way how to find out the parents of particular image which need to be rebuilt to propagate the updated RPM down the Docker images stream.