42 references to AddDockerfile
Aspire.Hosting (5)
ContainerResourceBuilderExtensions.cs (5)
804/// When generating the manifest for deployment tools, the <see cref="AddDockerfile(IDistributedApplicationBuilder, string, string, string?, string?)"/> 848/// <remarks>This method is not available in polyglot app hosts. Use <see cref="AddDockerfile"/> instead.</remarks> 879/// <remarks>This method is not available in polyglot app hosts. Use <see cref="AddDockerfile"/> instead.</remarks> 927/// <remarks>This method is not available in polyglot app hosts. Use <see cref="AddDockerfile"/> instead.</remarks> 975/// <remarks>This method is not available in polyglot app hosts. Use <see cref="AddDockerfile"/> instead.</remarks>
Aspire.Hosting.Azure.Tests (6)
AzureAppServiceTests.cs (2)
271builder.AddDockerfile("api", directory.FullName) 723var container = builder.AddDockerfile("container1", "./myimage")
AzureContainerAppsTests.cs (2)
69builder.AddDockerfile("api", directory.FullName); 2141builder.AddDockerfile("with-bind-mount", tempDirectory.Path)
AzureDeployerTests.cs (2)
338var api = builder.AddDockerfile("api", "api.Dockerfile"); 500var pythonApp = builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
28appBuilder.AddDockerfile("docker-client", contextPath: dir.Path)
WithDockerfileTests.cs (10)
100var dockerFile = builder.AddDockerfile(resourceName, tempContextPath, tempDockerfilePath); 228builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 313var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath, "runner") 406var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 520builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 600builder.AddDockerfile("mycontainer", string.Empty) 650var container = builder.AddDockerfile("mycontainer", tempContextPath); 681var container = builder.AddDockerfile("mycontainer", tempContextPath, "Dockerfile"); 712var container = builder.AddDockerfile("mycontainer", tempContextPath, "Otherdockerfile"); 743var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (15)
ContainerRegistryResourceTests.cs (2)
342var container = builder.AddDockerfile("mycontainer", "../myapp"); 396var container = builder.AddDockerfile("mycontainer", "../myapp");
Publishing\ResourceContainerImageManagerTests.cs (13)
96var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 228var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 266var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 418var servicea = builder.AddDockerfile("container", contextPathWithTrailingSlash, tempDockerfilePath); 537var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath); 569var dockerfileResource = builder.AddDockerfile("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath); 605var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 649var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath, stage: "runner") 713var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 818var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 867var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 1060var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath); 1293var 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")