37 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
787/// When generating the manifest for deployment tools, the <see cref="AddDockerfile(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (6)
AzureAppServiceTests.cs (2)
271builder.AddDockerfile("api", directory.FullName) 723var container = builder.AddDockerfile("container1", "./myimage")
AzureContainerAppsTests.cs (2)
68builder.AddDockerfile("api", directory.FullName); 2013builder.AddDockerfile("with-bind-mount", tempDirectory.Path)
AzureDeployerTests.cs (2)
340var api = builder.AddDockerfile("api", "api.Dockerfile"); 503var 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 (14)
ContainerRegistryResourceTests.cs (2)
341var container = builder.AddDockerfile("mycontainer", "../myapp"); 395var container = builder.AddDockerfile("mycontainer", "../myapp");
Publishing\ResourceContainerImageManagerTests.cs (12)
95var servicea = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 227var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 265var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 417var servicea = builder.AddDockerfile("container", contextPathWithTrailingSlash, tempDockerfilePath); 536var dockerfileResource = builder.AddDockerfile("test-dockerfile", tempContextPath, tempDockerfilePath); 568var dockerfileResource = builder.AddDockerfile("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath); 605var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath); 649var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath, stage: "runner") 712var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 817var container = builder.AddDockerfile("container", tempContextPath, tempDockerfilePath) 952var container = builder.AddDockerfile("mycontainer", tempContextPath, tempDockerfilePath); 1185var 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")