28 references to WithDockerfile
Aspire.Hosting (9)
ContainerResourceBuilderExtensions.cs (7)
460
/// When generating the manifest for deployment tools, the <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>
535
.
WithDockerfile
(contextPath, dockerfilePath, stage);
569
/// called before <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
575
/// <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
617
/// called before <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
623
/// <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
664
/// called before <see cref="ContainerResourceBuilderExtensions.
WithDockerfile
{T}(IResourceBuilder{T}, string, string?, string?)"/>.
ExecutableResourceBuilderExtensions.cs (1)
137
cb.
WithDockerfile
(contextPath: builder.Resource.WorkingDirectory);
ProjectResourceBuilderExtensions.cs (1)
695
cb.
WithDockerfile
(contextPath: projectDirectoryPath);
Aspire.Hosting.Containers.Tests (16)
WithDockerfileTests.cs (16)
33
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
64
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
117
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
132
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
136
dockerFile.
WithDockerfile
(tempContextPath, tempDockerfilePath);
152
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
176
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
247
.
WithDockerfile
(tempContextPath, tempDockerfilePath, "runner")
342
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
431
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
567
.
WithDockerfile
(string.Empty);
581
.
WithDockerfile
(string.Empty);
615
.
WithDockerfile
(tempContextPath);
646
.
WithDockerfile
(tempContextPath, "Dockerfile");
677
.
WithDockerfile
(tempContextPath, "Otherdockerfile");
708
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (3)
Schema\SchemaTests.cs (3)
55
builder.AddContainer("mycontainer", "myimage").
WithDockerfile
(tempContextPath);
69
.
WithDockerfile
(tempContextPath)
87
.
WithDockerfile
(tempContextPath)