22 references to DockerfilePath
Aspire.Hosting (8)
ApplicationModel\DockerfileBuildAnnotation.cs (1)
99await File.WriteAllTextAsync(DockerfilePath, dockerfileContent, cancellationToken).ConfigureAwait(false);
Dcp\DcpExecutor.cs (2)
2185Dockerfile = dockerfileBuildAnnotation.DockerfilePath, 2226Dockerfile = dockerfileBuildAnnotation.DockerfilePath,
Publishing\ManifestPublishingContext.cs (2)
370var dockerfilePath = annotation.DockerfilePath; 381File.Copy(annotation.DockerfilePath, resourceDockerfilePath, overwrite: true);
Publishing\ResourceContainerImageManager.cs (1)
474dockerfileBuildAnnotation.DockerfilePath,
Utils\DockerfileHelper.cs (2)
45var dockerfileContent = await File.ReadAllTextAsync(annotation.DockerfilePath, cancellationToken).ConfigureAwait(false); 48annotation.DockerfilePath,
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
329File.Copy(dockerfileBuildAnnotation.DockerfilePath, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Containers.Tests (8)
WithDockerfileTests.cs (8)
639Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 654Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 670Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 685Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 701Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 716Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 732Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 747Assert.Equal(tempDockerfilePath, annotation.DockerfilePath);
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
100File.Copy(dockerfileBuildAnnotation.DockerfilePath, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Kubernetes (1)
KubernetesPublishingContext.cs (1)
88File.Copy(dockerfileBuildAnnotation.DockerfilePath, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (2)
18Assert.Equal("/path/to/Dockerfile", annotation.DockerfilePath); 33Assert.Equal("/dockerfile", annotation.DockerfilePath);
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (1)
405Assert.NotNull(buildAnnotation.DockerfilePath);