1 write to DockerfileFactory
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
673
DockerfileFactory
= dockerfileFactory
40 references to DockerfileFactory
Aspire.Hosting (5)
Publishing\ManifestPublishingContext.cs (1)
335
if (annotation.
DockerfileFactory
is not null)
Publishing\ResourceContainerImageBuilder.cs (2)
346
if (dockerfileBuildAnnotation.
DockerfileFactory
is not null)
354
var dockerfileContent = await dockerfileBuildAnnotation.
DockerfileFactory
(context).ConfigureAwait(false);
Utils\DockerfileHelper.cs (2)
26
if (annotation.
DockerfileFactory
is not null)
35
var dockerfileContent = await annotation.
DockerfileFactory
(context).ConfigureAwait(false);
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
310
dockerfileBuildAnnotation.
DockerfileFactory
is not null)
318
var dockerfileContent = await dockerfileBuildAnnotation.
DockerfileFactory
(context).ConfigureAwait(false);
Aspire.Hosting.Containers.Tests (5)
WithDockerfileTests.cs (5)
777
Assert.NotNull(annotation.
DockerfileFactory
);
800
var generatedContent = await annotation.
DockerfileFactory
(context);
823
Assert.NotNull(annotation.
DockerfileFactory
);
832
var generatedContent = await annotation.
DockerfileFactory
(context);
874
Assert.NotNull(annotation.
DockerfileFactory
);
Aspire.Hosting.Docker (2)
DockerComposePublishingContext.cs (2)
87
dockerfileBuildAnnotation.
DockerfileFactory
is not null)
95
var dockerfileContent = await dockerfileBuildAnnotation.
DockerfileFactory
(dockerfileContext).ConfigureAwait(false);
Aspire.Hosting.Kubernetes (2)
KubernetesPublishingContext.cs (2)
75
dockerfileBuildAnnotation.
DockerfileFactory
is not null)
83
var dockerfileContent = await dockerfileBuildAnnotation.
DockerfileFactory
(dockerfileContext).ConfigureAwait(false);
Aspire.Hosting.Tests (13)
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (13)
71
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
92
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
102
var dockerfile = await buildAnnotation.
DockerfileFactory
(factoryContext);
153
var dockerfile = await buildAnnotation.
DockerfileFactory
!(factoryContext);
189
var dockerfile = await buildAnnotation.
DockerfileFactory
!(factoryContext);
223
var dockerfile = await buildAnnotation.
DockerfileFactory
!(factoryContext);
264
var dockerfile = await buildAnnotation.
DockerfileFactory
!(factoryContext);
334
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
344
var dockerfile = await buildAnnotation.
DockerfileFactory
(factoryContext);
370
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
380
var dockerfile = await buildAnnotation.
DockerfileFactory
(factoryContext);
406
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
445
var dockerfile = await buildAnnotation.
DockerfileFactory
!(factoryContext);
Aspire.Hosting.Yarp.Tests (11)
AddYarpTests.cs (11)
178
Assert.NotNull(annotation.
DockerfileFactory
);
191
Assert.NotNull(annotation.
DockerfileFactory
);
200
var dockerfile = await annotation.
DockerfileFactory
(context);
269
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
280
var dockerfile = await buildAnnotation.
DockerfileFactory
(context);
299
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
311
var dockerfile = await buildAnnotation.
DockerfileFactory
(context);
332
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
343
var dockerfile = await buildAnnotation.
DockerfileFactory
(context);
370
Assert.NotNull(buildAnnotation.
DockerfileFactory
);
381
var dockerfile = await buildAnnotation.
DockerfileFactory
(context);