35 references to WithDockerfile
Aspire.Hosting (13)
ContainerResourceBuilderExtensions.cs (11)
569/// When generating the manifest for deployment tools, the <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/> 677/// <remarks>This method is not available in polyglot app hosts. Use <see cref="WithDockerfile{T}"/> instead.</remarks> 725/// <remarks>This method is not available in polyglot app hosts. Use <see cref="WithDockerfile{T}"/> instead.</remarks> 827.WithDockerfile(contextPath, dockerfilePath, stage); 1021/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1027/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1071/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1077/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1119/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1433/// <remarks>This method is not available in polyglot app hosts. Use <see cref="WithDockerfile{T}"/> instead.</remarks> 1538/// <remarks>This method is not available in polyglot app hosts. Use <see cref="WithDockerfile{T}"/> instead.</remarks>
ExecutableResourceBuilderExtensions.cs (1)
155cb.WithDockerfile(contextPath: builder.Resource.WorkingDirectory);
ProjectResourceBuilderExtensions.cs (1)
864cb.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)
65builder.AddContainer("mycontainer", "myimage").WithDockerfile(tempContextPath); 79.WithDockerfile(tempContextPath) 97.WithDockerfile(tempContextPath)