We can revert ad2d9c0ab1477f5e3677a1a1d551460ba4a60a09 as part of the upgrade as the optimizations have now been merged into Testcontainers.