Resource.WithDockerfileBaseImage
Method
func (Resource) WithDockerfileBaseImage(options ...*WithDockerfileBaseImageOptions) ResourceSignature
method
WithDockerfileBaseImage builderConfigures custom base images for generated Dockerfiles.
WithDockerfileBaseImage(options ...*WithDockerfileBaseImageOptions) ResourceParameters
options...*WithDockerfileBaseImageOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithDockerfileBaseImageOptions argument.
BuildImage *stringThe base image to use for the build stage. If null, uses the default build image.RuntimeImage *stringThe base image to use for the runtime stage. If null, uses the default runtime image.Returns
ResourceThe resource builder.
Returns a handle; failures surface later via Err().
Defined on
A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.
Applies to
This function applies to the following types: