43 references to AddDockerfile
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
904
/// When generating the manifest for deployment tools, the <see cref="
AddDockerfile
(IDistributedApplicationBuilder, string, string, string?, string?)"/>
Aspire.Hosting.Azure.Tests (7)
AzureAppServiceTests.cs (2)
439
builder.
AddDockerfile
("api", directory.FullName)
1084
var container = builder.
AddDockerfile
("container1", "./myimage")
AzureContainerAppsTests.cs (2)
70
builder.
AddDockerfile
("api", directory.FullName);
2722
builder.
AddDockerfile
("with-bind-mount", workspace.Path)
AzureDeployerTests.cs (3)
345
var api = builder.
AddDockerfile
("api", "api.Dockerfile");
623
var pythonApp = builder.
AddDockerfile
("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
701
builder.
AddDockerfile
("python-app", "python-app.Dockerfile").WithComputeEnvironment(acaEnv);
Aspire.Hosting.Containers.Tests (11)
DockerSocketBindMountTests.cs (1)
29
appBuilder.
AddDockerfile
("docker-client", contextPath: contextDir.FullName)
WithDockerfileTests.cs (10)
103
var dockerFile = builder.
AddDockerfile
(resourceName, tempContextPath, tempDockerfilePath);
236
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
325
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath, "runner")
422
var container = builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
538
builder.
AddDockerfile
("testcontainer", tempContextPath, tempDockerfilePath)
618
builder.
AddDockerfile
("mycontainer", string.Empty)
670
var container = builder.
AddDockerfile
("mycontainer", tempContextPath);
703
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Dockerfile");
736
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, "Otherdockerfile");
769
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (19)
ContainerRegistryResourceTests.cs (2)
342
var container = builder.
AddDockerfile
("mycontainer", "../myapp");
396
var container = builder.
AddDockerfile
("mycontainer", "../myapp");
Dcp\DcpExecutorTests.cs (2)
75
builder.
AddDockerfile
("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath)
99
builder.
AddDockerfile
("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath);
Publishing\ResourceContainerImageManagerTests.cs (15)
98
var servicea = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
232
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
275
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
430
var servicea = builder.
AddDockerfile
("container", contextPathWithTrailingSlash, tempDockerfilePath);
551
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", tempContextPath, tempDockerfilePath);
584
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", contextPathWithTrailingSlash, tempDockerfilePath);
622
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
741
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath, stage: "runner")
806
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
912
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
962
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
1157
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
1190
var container = builder.
AddDockerfile
("mycontainer", tempDockerfileContext.ContextPath, tempDockerfileContext.DockerfilePath);
1425
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
1537
var container = builder.
AddDockerfile
("broken-container", workspace.WorkspaceRoot.FullName, dockerfilePath);
AzureContainerApps.AppHost (1)
AppHost.cs (1)
38
builder.
AddDockerfile
("pythonapp", "AppWithDocker");
Deployers.AppHost (1)
AppHost.cs (1)
50
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)
AppHost.cs (1)
60
builder.
AddDockerfile
("mycontainer", "qots");
WithDockerfile.AppHost (1)
AppHost.cs (1)
14
builder.
AddDockerfile
("mycontainer", "qots")