DockerfileStage.User(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a USER statement to set the user for subsequent commands.
public Aspire.Hosting.ApplicationModel.Docker.DockerfileStage User(string user);
member this.User : string -> Aspire.Hosting.ApplicationModel.Docker.DockerfileStage
Public Function User (user As String) As DockerfileStage
Parameters
- user
- String
The user name or UID.
Returns
The current stage.