DockerfileBuildAnnotation Constructors
ClassConstructors1 member
Represents an annotation for customizing a Dockerfile build.
Constructor(string, string, string?) Section titled Constructor(string, string, string?) Represents an annotation for customizing a Dockerfile build.
public class DockerfileBuildAnnotation{ public DockerfileBuildAnnotation( string contextPath, string dockerfilePath, string? stage) { // ... }}Parameters
contextPath stringThe path to the context directory for the build. dockerfilePath stringThe path to the Dockerfile to use for the build.stagestring?The name of the build stage to use for the build.