I have a hierarchy of Docker images, which are eventually wrapped into Debian and/or RPM packages. There are dependencies between the Linux package wrappers and the images, as well as between “higher” images and base images (on different layers). The obvious goal now is to rebuild dependent parts of this hierarchy, if somewhere something changes. E.g. the upper-most images, as well as the Linux packages need to be rebuild, if something changes in the application contained in the Docker images. Likewise everything needs to be rebuilt. if the base-image needs to be updated.
I have created a build-system based on CMake (using ADD_CUSTOM_COMMAND, ADD_CUSTOM_TARGET), which works to some degree, but quite honestly is a PITA …
Hence my question, whether anyone in this forum may recommend another (Linux-based) build-system, which is fit for this purpose. The only precondition is that it should be Open Source.