33 references to WithDockerfile
Aspire.Hosting (9)
ContainerResourceBuilderExtensions.cs (7)
656
/// When generating the manifest for deployment tools, the <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>
925
.
WithDockerfile
(contextPath, dockerfilePath, stage);
1126
/// called before <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
1132
/// <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
1176
/// called before <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
1182
/// <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
1254
/// called before <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
ExecutableResourceBuilderExtensions.cs (1)
167
cb.
WithDockerfile
(contextPath: dockerfileContextPath);
ProjectResourceBuilderExtensions.cs (1)
1045
cb.
WithDockerfile
(contextPath: projectDirectoryPath);
Aspire.Hosting.Containers.Tests (19)
WithDockerfileTests.cs (19)
34
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
66
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
126
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
151
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
155
dockerFile.
WithDockerfile
(tempContextPath, tempDockerfilePath);
172
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
201
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
275
.
WithDockerfile
(tempContextPath, tempDockerfilePath, "runner")
374
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
466
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
603
.
WithDockerfile
(string.Empty);
617
.
WithDockerfile
(string.Empty);
652
.
WithDockerfile
(tempContextPath);
685
.
WithDockerfile
(tempContextPath, "Dockerfile");
718
.
WithDockerfile
(tempContextPath, "Otherdockerfile");
751
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
953
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
999
.
WithDockerfile
(tempContextPath1, tempDockerfilePath1)
1000
.
WithDockerfile
(tempContextPath1, tempDockerfilePath1); // Call twice to start
Aspire.Hosting.Rust.Tests (1)
AddRustAppPublishTests.cs (1)
535
.PublishAsDockerFile(container => container.
WithDockerfile
(customContext.FullName, "Dockerfile.prod"));
Aspire.Hosting.Tests (4)
PublishAsDockerfileTests.cs (1)
470
.
WithDockerfile
(workspace.WorkspaceRoot.FullName);
Schema\SchemaTests.cs (3)
64
builder.AddContainer("mycontainer", "myimage").
WithDockerfile
(tempContextPath);
78
.
WithDockerfile
(tempContextPath)
96
.
WithDockerfile
(tempContextPath)