| Package | Description |
|---|---|
| com.google.cloud.tools.jib.image |
| Modifier and Type | Method and Description |
|---|---|
Image.Builder<T> |
Image.Builder.addEnvironment(Map<String,String> environment)
Adds a map of environment variables to the current map.
|
Image.Builder<T> |
Image.Builder.addLayer(T layer)
Adds a layer to the image.
|
static <T extends Layer> |
Image.builder() |
Image.Builder<T> |
Image.Builder.setCreated(Instant created)
Sets the image creation time.
|
Image.Builder<T> |
Image.Builder.setEntrypoint(List<String> entrypoint)
Sets the entrypoint of the image.
|
Image.Builder<T> |
Image.Builder.setEnvironmentVariable(String name,
String value)
Adds an environment variable with a given name and value.
|
Image.Builder<T> |
Image.Builder.setExposedPorts(com.google.common.collect.ImmutableList<Port> exposedPorts)
Sets the items in the "ExposedPorts" field in the container configuration.
|
Image.Builder<T> |
Image.Builder.setJavaArguments(List<String> javaArguments)
Sets the items in the "Cmd" field in the container configuration (i.e.
|
Copyright © 2018. All rights reserved.