30 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
639
/// When generating the manifest for deployment tools, the <see cref="
AddDockerfile
(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (4)
AzureAppServiceTests.cs (1)
194
builder.
AddDockerfile
("api", directory.FullName)
AzureContainerAppsTests.cs (1)
65
builder.
AddDockerfile
("api", directory.FullName);
AzureDeployerTests.cs (2)
229
builder.
AddDockerfile
("api", "api.Dockerfile");
367
builder.
AddDockerfile
("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
29
appBuilder.
AddDockerfile
("docker-client", contextPath: dir.Path)
WithDockerfileTests.cs (10)
99
var dockerFile = builder.
AddDockerfile
(resourceName, tempContextPath, tempDockerfilePath);
211
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
296
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath, "runner")
389
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
505
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
585
builder.
AddDockerfile
("mycontainer", string.Empty)
635
var container = builder.
AddDockerfile
("mycontainer", tempContextPath);
666
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Dockerfile");
697
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Otherdockerfile");
728
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (10)
Publishing\ResourceContainerImageBuilderTests.cs (10)
61
var servicea = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
202
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
242
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
405
var servicea = builder.
AddDockerfile
("container", contextPathWithTrailingSlash, tempDockerfilePath);
563
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", tempContextPath, tempDockerfilePath);
595
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath);
632
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
675
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath, stage: "runner")
739
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
824
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
AzureContainerApps.AppHost (1)
Program.cs (1)
38
builder.
AddDockerfile
("pythonapp", "AppWithDocker");
Deployers.AppHost (1)
AppHost.cs (1)
53
builder.
AddDockerfile
("python-app", "../Deployers.Dockerfile")
Publishers.AppHost (1)
Program.cs (1)
61
builder.
AddDockerfile
("mycontainer", "qots");
WithDockerfile.AppHost (1)
Program.cs (1)
12
builder.
AddDockerfile
("mycontainer", "qots")