withBuildArg
Method
interface ContainerResource { // ... omitted for brevity withBuildArg( name: string, value: string | ParameterResource): ContainerResource;}Signature
method
withBuildArg builderAdds a build argument when the container is built from a Dockerfile.
withBuildArg( name: string, value: string | ParameterResource): ContainerResourceParameters
namestringThe name of the build argument.valuestring | ParameterResource The build argument value, either a string or a parameter resource.Returns
ContainerResource Applies to
This method applies to the following types: