Build.Args Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a dictionary of build arguments for the Docker image. Build arguments provide values that can be passed to the Dockerfile during the build process. These arguments allow customization of the build process by defining key-value pairs that are accessible within the Dockerfile.
[YamlDotNet.Serialization.YamlMember(Alias="args", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)]
public System.Collections.Generic.Dictionary<string,string> Args { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="args", DefaultValuesHandling=YamlDotNet.Serialization.DefaultValuesHandling.OmitEmptyCollections)>]
member this.Args : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property Args As Dictionary(Of String, String)
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute