DockerfileStage.Run(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 RUN statement to execute a command.
public Aspire.Hosting.ApplicationModel.Docker.DockerfileStage Run(string command);
member this.Run : string -> Aspire.Hosting.ApplicationModel.Docker.DockerfileStage
Public Function Run (command As String) As DockerfileStage
Parameters
- command
- String
The command to execute.
Returns
The current stage.