31 references to WithDockerfile
Aspire.Hosting (9)
ContainerResourceBuilderExtensions.cs (7)
559/// When generating the manifest for deployment tools, the <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/> 809.WithDockerfile(contextPath, dockerfilePath, stage); 995/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1001/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1043/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1049/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1090/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>.
ExecutableResourceBuilderExtensions.cs (1)
151cb.WithDockerfile(contextPath: builder.Resource.WorkingDirectory);
ProjectResourceBuilderExtensions.cs (1)
843cb.WithDockerfile(contextPath: projectDirectoryPath);
Aspire.Hosting.Containers.Tests (19)
WithDockerfileTests.cs (19)
35.WithDockerfile(tempContextPath, tempDockerfilePath) 66.WithDockerfile(tempContextPath, tempDockerfilePath); 124.WithDockerfile(tempContextPath, tempDockerfilePath); 148.WithDockerfile(tempContextPath, tempDockerfilePath); 152dockerFile.WithDockerfile(tempContextPath, tempDockerfilePath); 168.WithDockerfile(tempContextPath, tempDockerfilePath); 196.WithDockerfile(tempContextPath, tempDockerfilePath); 267.WithDockerfile(tempContextPath, tempDockerfilePath, "runner") 362.WithDockerfile(tempContextPath, tempDockerfilePath) 451.WithDockerfile(tempContextPath, tempDockerfilePath) 587.WithDockerfile(string.Empty); 601.WithDockerfile(string.Empty); 635.WithDockerfile(tempContextPath); 666.WithDockerfile(tempContextPath, "Dockerfile"); 697.WithDockerfile(tempContextPath, "Otherdockerfile"); 728.WithDockerfile(tempContextPath, tempDockerfilePath); 923.WithDockerfile(tempContextPath, tempDockerfilePath); 964.WithDockerfile(tempContextPath1, tempDockerfilePath1) 965.WithDockerfile(tempContextPath1, tempDockerfilePath1); // Call twice to start
Aspire.Hosting.Tests (3)
Schema\SchemaTests.cs (3)
64builder.AddContainer("mycontainer", "myimage").WithDockerfile(tempContextPath); 78.WithDockerfile(tempContextPath) 96.WithDockerfile(tempContextPath)