22 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)
28
appBuilder.
AddDockerfile
("docker-client", contextPath: dir.Path)
WithDockerfileTests.cs (10)
97
var dockerFile = builder.
AddDockerfile
(resourceName, tempContextPath, tempDockerfilePath);
207
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
292
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath, "runner")
385
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
499
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
579
builder.
AddDockerfile
("mycontainer", string.Empty)
629
var container = builder.
AddDockerfile
("mycontainer", tempContextPath);
660
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Dockerfile");
691
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Otherdockerfile");
722
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (5)
Publishing\ResourceContainerImageBuilderTests.cs (5)
60
var servicea = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
200
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
239
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
432
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", tempContextPath, tempDockerfilePath);
459
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")