31 references to WithDockerfile
Aspire.Hosting (9)
ContainerResourceBuilderExtensions.cs (7)
524/// When generating the manifest for deployment tools, the <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/> 731.WithDockerfile(contextPath, dockerfilePath, stage); 916/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 922/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 964/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 970/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1011/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>.
ExecutableResourceBuilderExtensions.cs (1)
146cb.WithDockerfile(contextPath: builder.Resource.WorkingDirectory);
ProjectResourceBuilderExtensions.cs (1)
842cb.WithDockerfile(contextPath: projectDirectoryPath);
Aspire.Hosting.Containers.Tests (19)
WithDockerfileTests.cs (19)
36.WithDockerfile(tempContextPath, tempDockerfilePath) 68.WithDockerfile(tempContextPath, tempDockerfilePath); 126.WithDockerfile(tempContextPath, tempDockerfilePath); 150.WithDockerfile(tempContextPath, tempDockerfilePath); 154dockerFile.WithDockerfile(tempContextPath, tempDockerfilePath); 170.WithDockerfile(tempContextPath, tempDockerfilePath); 199.WithDockerfile(tempContextPath, tempDockerfilePath); 271.WithDockerfile(tempContextPath, tempDockerfilePath, "runner") 366.WithDockerfile(tempContextPath, tempDockerfilePath) 456.WithDockerfile(tempContextPath, tempDockerfilePath) 593.WithDockerfile(string.Empty); 607.WithDockerfile(string.Empty); 641.WithDockerfile(tempContextPath); 672.WithDockerfile(tempContextPath, "Dockerfile"); 703.WithDockerfile(tempContextPath, "Otherdockerfile"); 734.WithDockerfile(tempContextPath, tempDockerfilePath); 924.WithDockerfile(tempContextPath, tempDockerfilePath); 961.WithDockerfile(tempContextPath1, tempDockerfilePath1) 962.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)