31 references to WithDockerfile
Aspire.Hosting (9)
ContainerResourceBuilderExtensions.cs (7)
548/// When generating the manifest for deployment tools, the <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/> 798.WithDockerfile(contextPath, dockerfilePath, stage); 983/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 989/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1031/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1037/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1078/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>.
ExecutableResourceBuilderExtensions.cs (1)
150cb.WithDockerfile(contextPath: builder.Resource.WorkingDirectory);
ProjectResourceBuilderExtensions.cs (1)
838cb.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); 929.WithDockerfile(tempContextPath, tempDockerfilePath); 970.WithDockerfile(tempContextPath1, tempDockerfilePath1) 971.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)