public class Jib
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static JibContainerBuilder |
from(ImageReference baseImageReference)
Starts building the container from a base image.
|
static JibContainerBuilder |
from(RegistryImage registryImage)
Starts building the container from a base image.
|
static JibContainerBuilder |
from(java.lang.String baseImageReference)
Starts building the container from a base image.
|
static JibContainerBuilder |
fromScratch()
Starts building the container from an empty base image.
|
public static JibContainerBuilder from(java.lang.String baseImageReference) throws InvalidImageReferenceException
from(RegistryImage)
.baseImageReference
- the base image referenceJibContainerBuilder
to continue building the containerInvalidImageReferenceException
- if the baseImageReference
is not a valid image
referencepublic static JibContainerBuilder from(ImageReference baseImageReference)
from(RegistryImage)
.baseImageReference
- the base image referenceJibContainerBuilder
to continue building the containerpublic static JibContainerBuilder from(RegistryImage registryImage)
registryImage
- the RegistryImage
that defines base container registry and
credentialsJibContainerBuilder
to continue building the containerpublic static JibContainerBuilder fromScratch()
JibContainerBuilder
to continue building the container