次の方法で共有


DockerfileBuildAnnotation Class

Definition

Represents an annotation for customizing a Dockerfile build.

public class DockerfileBuildAnnotation : Aspire.Hosting.ApplicationModel.IResourceAnnotation
type DockerfileBuildAnnotation = class
    interface IResourceAnnotation
Public Class DockerfileBuildAnnotation
Implements IResourceAnnotation
Inheritance
DockerfileBuildAnnotation
Implements

Constructors

DockerfileBuildAnnotation(String, String, String)

Represents an annotation for customizing a Dockerfile build.

Properties

BuildArguments

Gets the arguments to pass to the build.

BuildSecrets

Gets the secrets to pass to the build.

ContextPath

Gets the path to the context directory for the build.

DockerfilePath

Gets the path to the Dockerfile to use for the build.

Stage

Gets the name of the build stage to use for the build.

Applies to