DockerfileStage
Classnet10.0
Represents a stage within a multi-stage Dockerfile.
namespace Aspire.Hosting.ApplicationModel.Docker;
public class DockerfileStage : Aspire.Hosting.ApplicationModel.Docker.DockerfileStatement{ // ...}20 members
Constructors1
Section titled Constructors Initializes a new instance of the
DockerfileStage class. Properties2
Section titled PropertiesView all properties
Methods17
Section titled Methods Adds an ARG statement to define a build-time variable with a default value.
Adds a COPY statement to copy files with ownership change.
Adds a COPY statement to copy files from another stage.
Adds a COPY statement to copy files from another stage with ownership change.
Adds a RUN statement with mount options for BuildKit.
Task Writes the statement to the specified writer.