public class DockerDaemonImage
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static DockerDaemonImage |
named(ImageReference imageReference)
Instantiate with the image reference to tag the built image with.
|
static DockerDaemonImage |
named(java.lang.String imageReference)
Instantiate with the image reference to tag the built image with.
|
DockerDaemonImage |
setDockerExecutable(java.nio.file.Path dockerExecutable)
Sets the path to the
docker CLI. |
BuildSteps |
toBuildSteps(BuildConfiguration buildConfiguration)
Converts into
BuildSteps . |
ImageConfiguration |
toImageConfiguration()
Converts into an
ImageConfiguration . |
public static DockerDaemonImage named(ImageReference imageReference)
imageReference
- the image referenceDockerDaemonImage
public static DockerDaemonImage named(java.lang.String imageReference) throws InvalidImageReferenceException
imageReference
- the image referenceDockerDaemonImage
InvalidImageReferenceException
- if imageReference
is not a valid image referencepublic DockerDaemonImage setDockerExecutable(java.nio.file.Path dockerExecutable)
docker
CLI. This is docker
by default.dockerExecutable
- the path to the docker
CLIpublic ImageConfiguration toImageConfiguration()
ImageConfiguration
. For internal use only.ImageConfiguration
public BuildSteps toBuildSteps(BuildConfiguration buildConfiguration)
BuildSteps
. For internal use only.buildConfiguration
- the BuildConfiguration
to useBuildSteps