次の方法で共有


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 .

public sealed class DockerBuildArg
[System.Obsolete("Use DockerfileBuildAnnotation to define docker build arguments.")]
public sealed class DockerBuildArg
type DockerBuildArg = class
[<System.Obsolete("Use DockerfileBuildAnnotation to define docker build arguments.")>]
type DockerBuildArg = class
Public NotInheritable 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