30 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
639/// When generating the manifest for deployment tools, the <see cref="AddDockerfile(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (4)
AzureAppServiceTests.cs (1)
194builder.AddDockerfile("api", directory.FullName)
AzureContainerAppsTests.cs (1)
65builder.AddDockerfile("api", directory.FullName);
AzureDeployerTests.cs (2)
229builder.AddDockerfile("api", "api.Dockerfile"); 367builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
29appBuilder.AddDockerfile("docker-client", contextPath: dir.Path)
WithDockerfileTests.cs (10)
99var dockerFile = builder.AddDockerfile(resourceName, tempContextPath, tempDockerfilePath); 211builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 296var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath, "runner") 389var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 505builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 585builder.AddDockerfile("mycontainer", string.Empty) 635var container = builder.AddDockerfile("mycontainer", tempContextPath); 666var container = builder.AddDockerfile("mycontainer", tempContextPath, "Dockerfile"); 697var container = builder.AddDockerfile("mycontainer", tempContextPath, "Otherdockerfile"); 728var 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") 739var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 824var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath)
AzureContainerApps.AppHost (1)
Program.cs (1)
38builder.AddDockerfile("pythonapp", "AppWithDocker");
Deployers.AppHost (1)
AppHost.cs (1)
53builder.AddDockerfile("python-app", "../Deployers.Dockerfile")
Publishers.AppHost (1)
Program.cs (1)
61builder.AddDockerfile("mycontainer", "qots");
WithDockerfile.AppHost (1)
Program.cs (1)
12builder.AddDockerfile("mycontainer", "qots")