33 references to WithDockerfile
Aspire.Hosting (9)
ContainerResourceBuilderExtensions.cs (7)
659/// When generating the manifest for deployment tools, the <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/> 928.WithDockerfile(contextPath, dockerfilePath, stage); 1123/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1129/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1173/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1179/// <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>. 1251/// called before <see cref="ContainerResourceBuilderExtensions.WithDockerfile{T}(IResourceBuilder{T}, string, string?, string?)"/>.
ExecutableResourceBuilderExtensions.cs (1)
158cb.WithDockerfile(contextPath: builder.Resource.WorkingDirectory);
ProjectResourceBuilderExtensions.cs (1)
1006cb.WithDockerfile(contextPath: projectDirectoryPath);
Aspire.Hosting.Containers.Tests (19)
WithDockerfileTests.cs (19)
36.WithDockerfile(tempContextPath, tempDockerfilePath) 68.WithDockerfile(tempContextPath, tempDockerfilePath); 128.WithDockerfile(tempContextPath, tempDockerfilePath); 153.WithDockerfile(tempContextPath, tempDockerfilePath); 157dockerFile.WithDockerfile(tempContextPath, tempDockerfilePath); 174.WithDockerfile(tempContextPath, tempDockerfilePath); 203.WithDockerfile(tempContextPath, tempDockerfilePath); 277.WithDockerfile(tempContextPath, tempDockerfilePath, "runner") 376.WithDockerfile(tempContextPath, tempDockerfilePath) 468.WithDockerfile(tempContextPath, tempDockerfilePath) 605.WithDockerfile(string.Empty); 619.WithDockerfile(string.Empty); 654.WithDockerfile(tempContextPath); 687.WithDockerfile(tempContextPath, "Dockerfile"); 720.WithDockerfile(tempContextPath, "Otherdockerfile"); 753.WithDockerfile(tempContextPath, tempDockerfilePath); 955.WithDockerfile(tempContextPath, tempDockerfilePath); 1001.WithDockerfile(tempContextPath1, tempDockerfilePath1) 1002.WithDockerfile(tempContextPath1, tempDockerfilePath1); // Call twice to start
Aspire.Hosting.Rust.Tests (1)
AddRustAppPublishTests.cs (1)
537.PublishAsDockerFile(container => container.WithDockerfile(customContext.FullName, "Dockerfile.prod"));
Aspire.Hosting.Tests (4)
PublishAsDockerfileTests.cs (1)
472.WithDockerfile(workspace.WorkspaceRoot.FullName);
Schema\SchemaTests.cs (3)
65builder.AddContainer("mycontainer", "myimage").WithDockerfile(tempContextPath); 79.WithDockerfile(tempContextPath) 97.WithDockerfile(tempContextPath)