45 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
901/// When generating the manifest for deployment tools, the <see cref="AddDockerfile(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (7)
AzureAppServiceTests.cs (2)
510builder.AddDockerfile("api", directory.FullName) 1153var container = builder.AddDockerfile("container1", "./myimage")
AzureContainerAppsTests.cs (2)
89builder.AddDockerfile("api", directory.FullName); 2838builder.AddDockerfile("with-bind-mount", workspace.Path)
AzureDeployerTests.cs (3)
531var api = builder.AddDockerfile("api", "api.Dockerfile"); 871var pythonApp = builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 949builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
Aspire.Hosting.Blazor.Tests (1)
AddBlazorGatewayTests.cs (1)
192builder.AddDockerfile("client-publish", directory.Path);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
29appBuilder.AddDockerfile("docker-client", contextPath: contextDir.FullName)
WithDockerfileTests.cs (10)
101var dockerFile = builder.AddDockerfile(resourceName, tempContextPath, tempDockerfilePath); 234builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 323var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath, "runner") 420var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 536builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 616builder.AddDockerfile("mycontainer", string.Empty) 668var container = builder.AddDockerfile("mycontainer", tempContextPath); 701var container = builder.AddDockerfile("mycontainer", tempContextPath, "Dockerfile"); 734var container = builder.AddDockerfile("mycontainer", tempContextPath, "Otherdockerfile"); 767var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (19)
ContainerRegistryResourceTests.cs (2)
349var container = builder.AddDockerfile("mycontainer", "../myapp"); 364var container = builder.AddDockerfile("mycontainer", "../myapp");
Dcp\DcpExecutorTests.cs (2)
428builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath) 452builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath);
Publishing\ResourceContainerImageManagerTests.cs (15)
135var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 275var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 318var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 479var servicea = builder.AddDockerfile("container", contextPathWithTrailingSlash, tempDockerfilePath); 602var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath); 635var dockerfileResource = builder.AddDockerfile("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath); 673var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 1356var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath, stage: "runner") 1421var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 1527var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 1577var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 1778var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath); 1811var container = builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath); 2054var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 2172var container = builder.AddDockerfile("broken-container", workspace.WorkspaceRoot.FullName, dockerfilePath);
AzureContainerApps.AppHost (1)
AppHost.cs (1)
38builder.AddDockerfile("pythonapp", "AppWithDocker");
Deployers.AppHost (1)
AppHost.cs (1)
50builder.AddDockerfile("python-app", "../Deployers.Dockerfile")
Pipelines.AppHost (1)
AppHost.cs (1)
38var withBindMount = builder.AddDockerfile("with-bind-mount", ".", "./Dockerfile.bindmount")
Publishers.AppHost (1)
AppHost.cs (1)
57builder.AddDockerfile("mycontainer", "qots");
Terminals.AppHost (1)
AppHost.cs (1)
126builder.AddDockerfile("notcurses", "../Terminals.Notcurses")
WithDockerfile.AppHost (1)
AppHost.cs (1)
12builder.AddDockerfile("mycontainer", "qots")