Add image argument to container constructor

MSAL

Set the image to use for a container explicitly if unset, rather than relying on the default image for the container class.

org.openrewrite.java.testing.testcontainers.ExplicitContainerImage

Required

The fully qualified name of the container class to use.

The image to use for the container.

Optional

parseImageBoolean

Whether to call DockerImageName.parse(image).

mod run . --recipe=org.openrewrite.java.testing.testcontainers.ExplicitContainerImage \ -P containerClass=org.testcontainers.containers.NginxContainer \ -P image=nginx:1.9.4

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.