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)
271
builder.
AddDockerfile
("api", directory.FullName)
723
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)
340
var api = builder.
AddDockerfile
("api", "api.Dockerfile");
503
var pythonApp = builder.
AddDockerfile
("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
28
appBuilder.
AddDockerfile
("docker-client", contextPath: dir.Path)
WithDockerfileTests.cs (10)
100
var dockerFile = builder.
AddDockerfile
(resourceName, tempContextPath, tempDockerfilePath);
228
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
313
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath, "runner")
406
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
520
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
600
builder.
AddDockerfile
("mycontainer", string.Empty)
650
var container = builder.
AddDockerfile
("mycontainer", tempContextPath);
681
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Dockerfile");
712
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Otherdockerfile");
743
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (14)
ContainerRegistryResourceTests.cs (2)
341
var container = builder.
AddDockerfile
("mycontainer", "../myapp");
395
var container = builder.
AddDockerfile
("mycontainer", "../myapp");
Publishing\ResourceContainerImageManagerTests.cs (12)
95
var servicea = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
227
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
265
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
417
var servicea = builder.
AddDockerfile
("container", contextPathWithTrailingSlash, tempDockerfilePath);
536
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", tempContextPath, tempDockerfilePath);
568
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath);
605
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
649
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath, stage: "runner")
712
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
817
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
952
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
1185
var container = builder.
AddDockerfile
("container", 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")