WithBuildArg
Method
func (ContainerResource) WithBuildArg( name string, value any,) ContainerResourceSignature
method
WithBuildArg builderAdds a build argument when the container is built from a Dockerfile.
WithBuildArg( name string, value any,) ContainerResourceParameters
namestringThe name of the build argument.valueanyThe build argument value, either a string or a parameter resource.Returns
ContainerResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: