public class Image extends Object
| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
Image |
addEnvironmentVariableDefinition(String environmentVariableDefinition)
Adds an environment variable definition in the format
NAME=VALUE. |
Image |
addLayer(Layer layer) |
<T extends Layer> |
addLayers(ImageLayers<T> layers) |
List<String> |
getEntrypoint() |
List<String> |
getEnvironment() |
List<Layer> |
getLayers() |
Image |
setEntrypoint(List<String> entrypoint) |
Image |
setEnvironment(Map<String,String> environment)
Sets the environment with a map from environment variable names to values.
|
Image |
setEnvironmentVariable(String name,
String value) |
public Image setEnvironment(Map<String,String> environment)
public Image addEnvironmentVariableDefinition(String environmentVariableDefinition)
NAME=VALUE.public Image addLayer(Layer layer) throws DuplicateLayerException, LayerPropertyNotFoundException
public <T extends Layer> Image addLayers(ImageLayers<T> layers) throws LayerPropertyNotFoundException, DuplicateLayerException
Copyright © 2018. All rights reserved.