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)
131var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
265var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
308var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
463var servicea = builder.AddDockerfile("container", contextPathWithTrailingSlash, tempDockerfilePath);
584var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath);
617var dockerfileResource = builder.AddDockerfile("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath);
655var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
1338var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath, stage: "runner")
1403var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
1509var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
1559var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
1754var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath);
1787var container = builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath);
2022var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
2134var 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)