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