build

fun build(): Path

Builds this DockerfileBuilder and exports the file to a temporary location.

This location can be safely used in DockerImageApi.create without additional processing.

Note: Path.deleteRecursively should be called when the Dockerfile can be cleaned up.

Return

Path object representing the folder the Dockerfile is saved into.