42 references to AddDockerfile
Aspire.Hosting (5)
ContainerResourceBuilderExtensions.cs (5)
804
/// When generating the manifest for deployment tools, the <see cref="
AddDockerfile
(IDistributedApplicationBuilder, string, string, string?, string?)"/>
848
/// <remarks>This method is not available in polyglot app hosts. Use <see cref="
AddDockerfile
"/> instead.</remarks>
879
/// <remarks>This method is not available in polyglot app hosts. Use <see cref="
AddDockerfile
"/> instead.</remarks>
927
/// <remarks>This method is not available in polyglot app hosts. Use <see cref="
AddDockerfile
"/> instead.</remarks>
975
/// <remarks>This method is not available in polyglot app hosts. Use <see cref="
AddDockerfile
"/> instead.</remarks>
Aspire.Hosting.Azure.Tests (6)
AzureAppServiceTests.cs (2)
271
builder.
AddDockerfile
("api", directory.FullName)
723
var container = builder.
AddDockerfile
("container1", "./myimage")
AzureContainerAppsTests.cs (2)
69
builder.
AddDockerfile
("api", directory.FullName);
2141
builder.
AddDockerfile
("with-bind-mount", tempDirectory.Path)
AzureDeployerTests.cs (2)
338
var api = builder.
AddDockerfile
("api", "api.Dockerfile");
500
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 (15)
ContainerRegistryResourceTests.cs (2)
342
var container = builder.
AddDockerfile
("mycontainer", "../myapp");
396
var container = builder.
AddDockerfile
("mycontainer", "../myapp");
Publishing\ResourceContainerImageManagerTests.cs (13)
96
var servicea = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath);
228
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
266
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
418
var servicea = builder.
AddDockerfile
("container", contextPathWithTrailingSlash, tempDockerfilePath);
537
var dockerfileResource = builder.
AddDockerfile
("test-dockerfile", tempContextPath, tempDockerfilePath);
569
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")
713
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
818
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
867
var container = builder.
AddDockerfile
("container", tempContextPath, tempDockerfilePath)
1060
var container = builder.
AddDockerfile
("mycontainer", tempContextPath, tempDockerfilePath);
1293
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")