DockerfileBuilder
Classnet10.0
Builder for creating Dockerfiles programmatically.
namespace Aspire.Hosting.ApplicationModel.Docker;
public class DockerfileBuilder{ // ...}7 members
Constructors1
Section titled Constructors Initializes a new instance of the
DockerfileBuilder class. Properties1
Section titled PropertiesView all properties
Methods5
Section titled MethodsArg(string)experimental Adds a global ARG statement to define a build-time variable before any stages.
Arg(string, string)experimental Adds a global ARG statement to define a build-time variable with a default value before any stages.
Task Writes the Dockerfile content to the specified
IO.StreamWriter.