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)
696
cb.
WithDockerfile
(contextPath: projectDirectoryPath);
Aspire.Hosting.Containers.Tests (16)
WithDockerfileTests.cs (16)
32
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
63
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
116
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
131
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
135
dockerFile.
WithDockerfile
(tempContextPath, tempDockerfilePath);
151
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
175
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
246
.
WithDockerfile
(tempContextPath, tempDockerfilePath, "runner")
341
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
430
.
WithDockerfile
(tempContextPath, tempDockerfilePath)
566
.
WithDockerfile
(string.Empty);
580
.
WithDockerfile
(string.Empty);
614
.
WithDockerfile
(tempContextPath);
645
.
WithDockerfile
(tempContextPath, "Dockerfile");
676
.
WithDockerfile
(tempContextPath, "Otherdockerfile");
707
.
WithDockerfile
(tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (3)
Schema\SchemaTests.cs (3)
54
builder.AddContainer("mycontainer", "myimage").
WithDockerfile
(tempContextPath);
68
.
WithDockerfile
(tempContextPath)
86
.
WithDockerfile
(tempContextPath)