Share via


DockerfileStage.Run(String) Method

Definition

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.

Applies to