45 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
901/// When generating the manifest for deployment tools, the <see cref="AddDockerfile(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (7)
AzureAppServiceTests.cs (2)
486builder.AddDockerfile("api", directory.FullName) 1129var container = builder.AddDockerfile("container1", "./myimage")
AzureContainerAppsTests.cs (2)
68builder.AddDockerfile("api", directory.FullName); 2779builder.AddDockerfile("with-bind-mount", workspace.Path)
AzureDeployerTests.cs (3)
342var api = builder.AddDockerfile("api", "api.Dockerfile"); 682var pythonApp = builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv); 760builder.AddDockerfile("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
Aspire.Hosting.Blazor.Tests (1)
AddBlazorGatewayTests.cs (1)
192builder.AddDockerfile("client-publish", directory.Path);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
29appBuilder.AddDockerfile("docker-client", contextPath: contextDir.FullName)
WithDockerfileTests.cs (10)
101var dockerFile = builder.AddDockerfile(resourceName, tempContextPath, tempDockerfilePath); 234builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 323var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath, "runner") 420var container = builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 536builder.AddDockerfile("testcontainer", tempContextPath, tempDockerfilePath) 616builder.AddDockerfile("mycontainer", string.Empty) 668var container = builder.AddDockerfile("mycontainer", tempContextPath); 701var container = builder.AddDockerfile("mycontainer", tempContextPath, "Dockerfile"); 734var container = builder.AddDockerfile("mycontainer", tempContextPath, "Otherdockerfile"); 767var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (19)
ContainerRegistryResourceTests.cs (2)
341var container = builder.AddDockerfile("mycontainer", "../myapp"); 395var container = builder.AddDockerfile("mycontainer", "../myapp");
Dcp\DcpExecutorTests.cs (2)
427builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath) 451builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath);
Publishing\ResourceContainerImageManagerTests.cs (15)
131var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 265var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 308var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 463var servicea = builder.AddDockerfile("container", contextPathWithTrailingSlash, tempDockerfilePath); 584var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath); 617var dockerfileResource = builder.AddDockerfile("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath); 655var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 1338var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath, stage: "runner") 1403var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 1509var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 1559var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 1754var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath); 1787var container = builder.AddDockerfile("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath); 2022var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 2134var 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)
38var withBindMount = builder.AddDockerfile("with-bind-mount", ".", "./Dockerfile.bindmount")
Publishers.AppHost (1)
AppHost.cs (1)
57builder.AddDockerfile("mycontainer", "qots");
Terminals.AppHost (1)
AppHost.cs (1)
117builder.AddDockerfile("notcurses", "../Terminals.Notcurses")
WithDockerfile.AppHost (1)
AppHost.cs (1)
12builder.AddDockerfile("mycontainer", "qots")