2 writes to DockerfileFactory
Aspire.Hosting (2)
ContainerResourceBuilderExtensions.cs (2)
551DockerfileFactory = context => Task.FromResult(dockerfileFactory(context)) 614DockerfileFactory = dockerfileFactory
17 references to DockerfileFactory
Aspire.Hosting (6)
Dcp\DcpExecutor.cs (2)
1519if (dockerfileBuildAnnotation.DockerfileFactory is not null) 1527var dockerfileContent = await dockerfileBuildAnnotation.DockerfileFactory(context).ConfigureAwait(false);
Publishing\ManifestPublishingContext.cs (2)
309if (annotation.DockerfileFactory is not null) 317var dockerfileContent = await annotation.DockerfileFactory(context).ConfigureAwait(false);
Publishing\ResourceContainerImageBuilder.cs (2)
348if (dockerfileBuildAnnotation.DockerfileFactory is not null) 356var dockerfileContent = await dockerfileBuildAnnotation.DockerfileFactory(context).ConfigureAwait(false);
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
318dockerfileBuildAnnotation.DockerfileFactory is not null) 326var dockerfileContent = await dockerfileBuildAnnotation.DockerfileFactory(context).ConfigureAwait(false);
Aspire.Hosting.Containers.Tests (5)
WithDockerfileTests.cs (5)
756Assert.NotNull(annotation.DockerfileFactory); 765var generatedContent = await annotation.DockerfileFactory(context); 788Assert.NotNull(annotation.DockerfileFactory); 797var generatedContent = await annotation.DockerfileFactory(context); 839Assert.NotNull(annotation.DockerfileFactory);
Aspire.Hosting.Docker (2)
DockerComposePublishingContext.cs (2)
92dockerfileBuildAnnotation.DockerfileFactory is not null) 100var dockerfileContent = await dockerfileBuildAnnotation.DockerfileFactory(context).ConfigureAwait(false);
Aspire.Hosting.Kubernetes (2)
KubernetesPublishingContext.cs (2)
76dockerfileBuildAnnotation.DockerfileFactory is not null) 84var dockerfileContent = await dockerfileBuildAnnotation.DockerfileFactory(context).ConfigureAwait(false);