withDockerfileBaseImage
Method
interface ContainerResource { // ... omitted for brevity withDockerfileBaseImage( buildImage?: string, runtimeImage?: string): IResource;}Signature
method
withDockerfileBaseImage builderConfigures custom base images for generated Dockerfiles.
withDockerfileBaseImage( buildImage?: string, runtimeImage?: string): IResourceParameters
buildImage stringoptionalThe base image to use for the build stage. If null, uses the default build image.runtimeImage stringoptionalThe base image to use for the runtime stage. If null, uses the default runtime image.Returns
IResource Applies to
This method applies to the following types: