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?)"/> 661.WithDockerfile(contextPath, dockerfilePath, stage); 753/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 759/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 801/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 807/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 848/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>.
ExecutableResourceBuilderExtensions.cs (1)
137cb.WithDockerfile(contextPath: builder.Resource.WorkingDirectory);
ProjectResourceBuilderExtensions.cs (1)
699cb.WithDockerfile(contextPath: projectDirectoryPath);
Aspire.Hosting.Containers.Tests (16)
WithDockerfileTests.cs (16)
33.WithDockerfile(tempContextPath, tempDockerfilePath) 65.WithDockerfile(tempContextPath, tempDockerfilePath); 118.WithDockerfile(tempContextPath, tempDockerfilePath); 133.WithDockerfile(tempContextPath, tempDockerfilePath); 137dockerFile.WithDockerfile(tempContextPath, tempDockerfilePath); 153.WithDockerfile(tempContextPath, tempDockerfilePath); 178.WithDockerfile(tempContextPath, tempDockerfilePath); 250.WithDockerfile(tempContextPath, tempDockerfilePath, "runner") 345.WithDockerfile(tempContextPath, tempDockerfilePath) 435.WithDockerfile(tempContextPath, tempDockerfilePath) 572.WithDockerfile(string.Empty); 586.WithDockerfile(string.Empty); 620.WithDockerfile(tempContextPath); 651.WithDockerfile(tempContextPath, "Dockerfile"); 682.WithDockerfile(tempContextPath, "Otherdockerfile"); 713.WithDockerfile(tempContextPath, tempDockerfilePath);
Aspire.Hosting.Tests (3)
Schema\SchemaTests.cs (3)
54builder.AddContainer("mycontainer", "myimage").WithDockerfile(tempContextPath); 68.WithDockerfile(tempContextPath) 86.WithDockerfile(tempContextPath)