22 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
513/// When generating the manifest for deployment tools, the <see cref="AddDockerfile(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (2)
AzureAppServiceTests.cs (1)
186builder.AddDockerfile("api", directory.FullName)
AzureContainerAppsTests.cs (1)
64builder.AddDockerfile("api", directory.FullName);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
28appBuilder.AddDockerfile("docker-client", contextPath: dir.Path)
WithDockerfileTests.cs (10)
97var dockerFile = builder.AddDockerfile(resourceName, tempContextPath, tempDockerfilePath); 207builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 292var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath, "runner") 385var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 499builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 579builder.AddDockerfile("mycontainer", string.Empty) 629var container = builder.AddDockerfile("mycontainer", tempContextPath); 660var container = builder.AddDockerfile("mycontainer", tempContextPath, "Dockerfile"); 691var container = builder.AddDockerfile("mycontainer", tempContextPath, "Otherdockerfile"); 722var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (5)
Publishing\ResourceContainerImageBuilderTests.cs (5)
60var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 200var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 239var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 432var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath); 459var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath);
AzureContainerApps.AppHost (1)
Program.cs (1)
38builder.AddDockerfile("pythonapp", "AppWithDocker");
Publishers.AppHost (1)
Program.cs (1)
61builder.AddDockerfile("mycontainer", "qots");
WithDockerfile.AppHost (1)
Program.cs (1)
12builder.AddDockerfile("mycontainer", "qots")