DockerBuildArg Class

Definition

Caution

Use DockerfileBuildAnnotation to define docker build arguments.

Represents a name/value pair, used to satisfy the docker builder --build-arg <NAME>[=<VALUE>] command switch. For more information, see .

C#
public sealed class DockerBuildArg
C#
[System.Obsolete("Use DockerfileBuildAnnotation to define docker build arguments.")]
public sealed class DockerBuildArg
Inheritance
DockerBuildArg
Attributes

Constructors

DockerBuildArg(String, Object)

Represents a name/value pair, used to satisfy the docker builder --build-arg <NAME>[=<VALUE>] command switch. For more information, see .

Properties

Name

Gets or initializes the name part of the docker builder --build-arg <NAME>[=<VALUE>].

Value

Gets or initializes the value part of the docker builder --build-arg <NAME>[=<VALUE>].

Applies to

Proizvod Verzije (Zastarjelo)
.NET Aspire 8.0.0, 9.0.0 (9.1.0)