47 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 (21)
Publishing\ResourceContainerImageManagerTests.cs (15)
213var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
353var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
396var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
557var servicea = builder.AddDockerfile("container", contextPathWithTrailingSlash, tempDockerfilePath);
680var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath);
713var dockerfileResource = builder.AddDockerfile("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath);
751var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
1479var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath, stage: "runner")
1544var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
1650var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
1700var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
1901var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath);
1934var container = builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath);
2177var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
2295var 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)