public static class LayerConfiguration.Builder extends Object
LayerConfiguration.| Modifier and Type | Method and Description |
|---|---|
LayerConfiguration.Builder |
addEntry(List<Path> sourceFiles,
String destinationOnImage)
Adds an entry to the layer.
|
LayerConfiguration |
build()
Returns the built
LayerConfiguration. |
LayerConfiguration.Builder |
setLabel(String label)
Sets a label for this layer.
|
public LayerConfiguration.Builder setLabel(String label)
label - the labelpublic LayerConfiguration.Builder addEntry(List<Path> sourceFiles, String destinationOnImage)
The source files are specified as a list instead of a set to define the order in which they are added.
sourceFiles - the source files to build from. Source files that are directories will
have all subfiles in the directory added (but not the directory itself)destinationOnImage - Unix-style path to add the source files to in the container image
filesystempublic LayerConfiguration build()
LayerConfiguration.LayerConfigurationCopyright © 2018. All rights reserved.