DockerBuildArg Constructors
Class Constructors 1 member
Represents a name/value pair, used to satisfy the
docker builder --build-arg <NAME>[=<VALUE>] command switch. For more information, see https://docs.docker.com/reference/cli/docker/image/build/#build-arg. Constructor(string, object?) Section titled Constructor(string, object?) Represents a name/value pair, used to satisfy the
docker builder --build-arg <NAME>[=<VALUE>] command switch. For more information, see https://docs.docker.com/reference/cli/docker/image/build/#build-arg. public sealed class DockerBuildArg{ public DockerBuildArg( string name, object? value = null) { // ... }}Parameters
name string The required name of the arg. value object? optional The optional value of the arg, when omitted the value is populated from the corresponding environment variable.