36 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
777
/// When generating the manifest for deployment tools, the <see cref="
AddDockerfile
(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (6)
AzureAppServiceTests.cs (2)
195
builder.
AddDockerfile
("api", directory.FullName)
647
var container = builder.
AddDockerfile
("container1", "./myimage")
AzureContainerAppsTests.cs (2)
68
builder.
AddDockerfile
("api", directory.FullName);
2013
builder.
AddDockerfile
("with-bind-mount", tempDirectory.Path)
AzureDeployerTests.cs (2)
335
var api = builder.
AddDockerfile
("api", "api.Dockerfile");
496
var pythonApp = 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)
102
var dockerFile = builder.
AddDockerfile
(resourceName, tempContextPath, tempDockerfilePath);
232
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
317
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath, "runner")
410
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
526
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
606
builder.
AddDockerfile
("mycontainer", string.Empty)
656
var container = builder.
AddDockerfile
("mycontainer", tempContextPath);
687
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Dockerfile");
718
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Otherdockerfile");
749
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (13)
ContainerRegistryResourceTests.cs (2)
341
var container = builder.
AddDockerfile
("mycontainer", "../myapp");
395
var container = builder.
AddDockerfile
("mycontainer", "../myapp");
Publishing\ResourceContainerImageManagerTests.cs (11)
97
var servicea = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
230
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
269
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
422
var servicea = builder.
AddDockerfile
("container", contextPathWithTrailingSlash, tempDockerfilePath);
541
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", tempContextPath, tempDockerfilePath);
573
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath);
610
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
653
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath, stage: "runner")
716
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
821
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
956
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
AzureContainerApps.AppHost (1)
Program.cs (1)
38
builder.
AddDockerfile
("pythonapp", "AppWithDocker");
Deployers.AppHost (1)
AppHost.cs (1)
52
builder.
AddDockerfile
("python-app", "../Deployers.Dockerfile")
Pipelines.AppHost (1)
AppHost.cs (1)
40
var withBindMount = builder.
AddDockerfile
("with-bind-mount", ".", "./Dockerfile.bindmount")
Publishers.AppHost (1)
Program.cs (1)
60
builder.
AddDockerfile
("mycontainer", "qots");
WithDockerfile.AppHost (1)
Program.cs (1)
14
builder.
AddDockerfile
("mycontainer", "qots")