33 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
709/// When generating the manifest for deployment tools, the <see cref="AddDockerfile(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (6)
AzureAppServiceTests.cs (2)
195builder.AddDockerfile("api", directory.FullName) 627var container = builder.AddDockerfile("container1", "./myimage")
AzureContainerAppsTests.cs (2)
66builder.AddDockerfile("api", directory.FullName); 2011builder.AddDockerfile("with-bind-mount", tempDirectory.Path)
AzureDeployerTests.cs (2)
268builder.AddDockerfile("api", "api.Dockerfile"); 407builder.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)
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)
Program.cs (1)
38builder.AddDockerfile("pythonapp", "AppWithDocker");
Deployers.AppHost (1)
AppHost.cs (1)
52builder.AddDockerfile("python-app", "../Deployers.Dockerfile")
Pipelines.AppHost (1)
AppHost.cs (1)
40var withBindMount = builder.AddDockerfile("with-bind-mount", ".", "./Dockerfile.bindmount")
Publishers.AppHost (1)
Program.cs (1)
60builder.AddDockerfile("mycontainer", "qots");
WithDockerfile.AppHost (1)
Program.cs (1)
14builder.AddDockerfile("mycontainer", "qots")