DockerImage constructor
DockerImage({})
Creates a DockerImage from the given parameters.
An optional dockerClient can be injected for testing; the default
instance reads connection settings from the environment.
Implementation
DockerImage({
required this.path,
this.tag,
this.cleanUp = true,
this.dockerfilePath,
this.noCache = false,
DockerClient? dockerClient,
}) : _dockerClient = dockerClient ?? DockerClient();