Specifies how to build an image.
More...
|
Dictionary< string, string > | Labels = new() |
| Gets a collection of the labels to apply to the image. More...
|
|
|
IEnumerable< ImageName > | Tags = Array.Empty<ImageName>() [get, set] |
| Gets or sets a collection of tags (names) to apply to the image when it has been created. More...
|
|
string? | TargetBuildStage [get, set] |
| Gets or sets which build stage to run. More...
|
|
bool | UseBuildCache = true [get, set] |
| Gets or sets a value indicating whether the daemon should use its build cache when building the image. The default is true. More...
|
|
Specifies how to build an image.
◆ Labels
Dictionary<string, string> DockerSdk.Builders.BuildOptions.Labels = new() |
Gets a collection of the labels to apply to the image.
◆ Tags
IEnumerable<ImageName> DockerSdk.Builders.BuildOptions.Tags = Array.Empty<ImageName>() |
|
getset |
Gets or sets a collection of tags (names) to apply to the image when it has been created.
◆ TargetBuildStage
string? DockerSdk.Builders.BuildOptions.TargetBuildStage |
|
getset |
Gets or sets which build stage to run.
◆ UseBuildCache
bool DockerSdk.Builders.BuildOptions.UseBuildCache = true |
|
getset |
Gets or sets a value indicating whether the daemon should use its build cache when building the image. The default is true.
Disabling the build cache makes builds slower. Typically you would only disable it for troubleshooting purposes.
The documentation for this class was generated from the following file: