Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

User

Method
📦 Aspire.Hosting v17.0.0
func (DockerfileStage) User(user string) DockerfileStage

Signature

methodUser
Adds a USER statement to a Dockerfile stage
User(user string) DockerfileStage
userstring
DockerfileStage

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

Applies to

This method applies to the following types: