Again, this is recursion, if the upstream maintainer for the Apache and Nginx images is doing their job, the "yum update" should do nothing.
Though, I agree, it's very important to highlight that too much branching can cause massive environment bloat and way too many permutations.
If we just tell everyone to do yum updates at their layer this problem goes away. Ahh, recursion...