20 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
513
/// When generating the manifest for deployment tools, the <see cref="
AddDockerfile
(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (2)
AzureAppServiceTests.cs (1)
186
builder.
AddDockerfile
("api", directory.FullName)
AzureContainerAppsTests.cs (1)
64
builder.
AddDockerfile
("api", directory.FullName);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
29
appBuilder.
AddDockerfile
("docker-client", contextPath: dir.Path)
WithDockerfileTests.cs (10)
98
var dockerFile = builder.
AddDockerfile
(resourceName, tempContextPath, tempDockerfilePath);
208
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
293
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath, "runner")
386
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
500
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
580
builder.
AddDockerfile
("mycontainer", string.Empty)
630
var container = builder.
AddDockerfile
("mycontainer", tempContextPath);
661
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Dockerfile");
692
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Otherdockerfile");
723
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (3)
Publishing\ResourceContainerImageBuilderTests.cs (3)
61
var servicea = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
201
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
240
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
AzureContainerApps.AppHost (1)
Program.cs (1)
38
builder.
AddDockerfile
("pythonapp", "AppWithDocker");
Publishers.AppHost (1)
Program.cs (1)
61
builder.
AddDockerfile
("mycontainer", "qots");
WithDockerfile.AppHost (1)
Program.cs (1)
12
builder.
AddDockerfile
("mycontainer", "qots")