Don't use docker links for user-defined networks
What does this MR do?
Ensures we don't send any Links
when a user-defined network is provided (or created by use, when Network Per Build is enabled) as doing so isn't supported by Podman.
What's the best way to test this MR?
- Test against Podman
- Test legacy links against Docker to ensure healthcheck still work
What are the relevant issue numbers?
Closes #31047 (closed) #29480 (closed)
Edited by Romuald Atchadé