fromDockerfile

suspend fun fromDockerfile(context: DockerDaemon, inFile: Path, configure: BuildImageCmd.() -> Unit = {}): DockerImage

Creates a DockerImage from a Dockerfile.

Parameters

inFile

Path to the Dockerfile.

configure

Optional configuration for the image.