43 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
904/// When generating the manifest for deployment tools, the <see cref="AddDockerfile(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (7)
AzureAppServiceTests.cs (2)
439builder.AddDockerfile("api", directory.FullName) 1084var container = builder.AddDockerfile("container1", "./myimage")
AzureContainerAppsTests.cs (2)
70builder.AddDockerfile("api", directory.FullName); 2722builder.AddDockerfile("with-bind-mount", workspace.Path)
AzureDeployerTests.cs (3)
345var api = builder.AddDockerfile("api", "api.Dockerfile"); 623var pythonApp = builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 701builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
29appBuilder.AddDockerfile("docker-client", contextPath: contextDir.FullName)
WithDockerfileTests.cs (10)
103var dockerFile = builder.AddDockerfile(resourceName, tempContextPath, tempDockerfilePath); 236builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 325var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath, "runner") 422var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 538builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 618builder.AddDockerfile("mycontainer", string.Empty) 670var container = builder.AddDockerfile("mycontainer", tempContextPath); 703var container = builder.AddDockerfile("mycontainer", tempContextPath, "Dockerfile"); 736var container = builder.AddDockerfile("mycontainer", tempContextPath, "Otherdockerfile"); 769var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (19)
ContainerRegistryResourceTests.cs (2)
342var container = builder.AddDockerfile("mycontainer", "../myapp"); 396var container = builder.AddDockerfile("mycontainer", "../myapp");
Dcp\DcpExecutorTests.cs (2)
75builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath) 99builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath);
Publishing\ResourceContainerImageManagerTests.cs (15)
98var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 232var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 275var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 430var servicea = builder.AddDockerfile("container", contextPathWithTrailingSlash, tempDockerfilePath); 551var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath); 584var dockerfileResource = builder.AddDockerfile("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath); 622var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 741var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath, stage: "runner") 806var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 912var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 962var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 1157var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath); 1190var container = builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath); 1425var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 1537var container = builder.AddDockerfile("broken-container", workspace.WorkspaceRoot.FullName, dockerfilePath);
AzureContainerApps.AppHost (1)
AppHost.cs (1)
38builder.AddDockerfile("pythonapp", "AppWithDocker");
Deployers.AppHost (1)
AppHost.cs (1)
50builder.AddDockerfile("python-app", "../Deployers.Dockerfile")
Pipelines.AppHost (1)
AppHost.cs (1)
40var withBindMount = builder.AddDockerfile("with-bind-mount", ".", "./Dockerfile.bindmount")
Publishers.AppHost (1)
AppHost.cs (1)
60builder.AddDockerfile("mycontainer", "qots");
WithDockerfile.AppHost (1)
AppHost.cs (1)
14builder.AddDockerfile("mycontainer", "qots")