DockerfileBaseImageAnnotation Properties
Class Properties 2 members
Represents an annotation for specifying custom base images in generated Dockerfiles.
Gets or sets the base image to use for the build stage in multi-stage Dockerfiles.
public string? BuildImage { get; set; }Remarks
This image is used during the build phase where dependencies are installed and the application is compiled or prepared. If not specified, the default build image for the resource type will be used.
Gets or sets the base image to use for the runtime stage in multi-stage Dockerfiles.
public string? RuntimeImage { get; set; }Remarks
This image is used for the final runtime stage where the application actually runs. If not specified, the default runtime image for the resource type will be used.