33 references to AddDockerfile
Aspire.Hosting (1)
Aspire.Hosting.Azure.Tests (6)
Aspire.Hosting.Containers.Tests (11)
WithDockerfileTests.cs (10)
102var dockerFile = builder.AddDockerfile(resourceName, tempContextPath, tempDockerfilePath);
232builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath)
317var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath, "runner")
410var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath)
526builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath)
606builder.AddDockerfile("mycontainer", string.Empty)
656var container = builder.AddDockerfile("mycontainer", tempContextPath);
687var container = builder.AddDockerfile("mycontainer", tempContextPath, "Dockerfile");
718var container = builder.AddDockerfile("mycontainer", tempContextPath, "Otherdockerfile");
749var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (10)
Publishing\ResourceContainerImageBuilderTests.cs (10)
61var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
202var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
242var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
405var servicea = builder.AddDockerfile("container", contextPathWithTrailingSlash, tempDockerfilePath);
563var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath);
595var dockerfileResource = builder.AddDockerfile("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath);
632var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
675var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath, stage: "runner")
738var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
843var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
AzureContainerApps.AppHost (1)
Deployers.AppHost (1)
Pipelines.AppHost (1)
Publishers.AppHost (1)
WithDockerfile.AppHost (1)