Share via


Build.Args Property

Definition

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

Applies to