22 references to DockerfilePath
Aspire.Hosting (8)
ApplicationModel\DockerfileBuildAnnotation.cs (1)
99await File.WriteAllTextAsync(DockerfilePath, dockerfileContent, cancellationToken).ConfigureAwait(false);
Dcp\DcpExecutor.cs (2)
2146Dockerfile = dockerfileBuildAnnotation.DockerfilePath, 2187Dockerfile = dockerfileBuildAnnotation.DockerfilePath,
Publishing\ManifestPublishingContext.cs (2)
370var dockerfilePath = annotation.DockerfilePath; 381File.Copy(annotation.DockerfilePath, resourceDockerfilePath, overwrite: true);
Publishing\ResourceContainerImageManager.cs (1)
435dockerfileBuildAnnotation.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)
645Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 660Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 676Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 691Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 707Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 722Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 738Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 753Assert.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);