45 references to AddDockerfile
Aspire.Hosting (1)
Aspire.Hosting.Azure.Tests (7)
Aspire.Hosting.Blazor.Tests (1)
Aspire.Hosting.Containers.Tests (11)
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)
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)
Deployers.AppHost (1)
Pipelines.AppHost (1)
Publishers.AppHost (1)
Terminals.AppHost (1)
WithDockerfile.AppHost (1)