Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

DockerfileStage.Comment

Method
📦 Aspire.Hosting v17.0.0
type DockerfileStage interface {
// ... omitted for brevity
Comment(comment string) DockerfileStage
}

Signature

methodComment
Adds a comment to a Dockerfile stage
Comment(comment string) DockerfileStage
commentstring
DockerfileStage

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: