25 references to DockerfilePath
Aspire.Hosting (8)
Dcp\DcpExecutor.cs (2)
1846Dockerfile = dockerfileBuildAnnotation.DockerfilePath, 1887Dockerfile = dockerfileBuildAnnotation.DockerfilePath,
Publishing\ManifestPublishingContext.cs (2)
330var dockerfilePath = annotation.DockerfilePath; 341File.Copy(annotation.DockerfilePath, resourceDockerfilePath, overwrite: true);
Publishing\ResourceContainerImageBuilder.cs (2)
355await File.WriteAllTextAsync(dockerfileBuildAnnotation.DockerfilePath, dockerfileContent, cancellationToken).ConfigureAwait(false); 382dockerfileBuildAnnotation.DockerfilePath,
Utils\DockerfileHelper.cs (2)
36await File.WriteAllTextAsync(annotation.DockerfilePath, dockerfileContent, cancellationToken).ConfigureAwait(false); 46annotation.DockerfilePath,
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
321await File.WriteAllTextAsync(dockerfileBuildAnnotation.DockerfilePath, dockerfileContent, cancellationToken).ConfigureAwait(false); 326File.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 (2)
DockerComposePublishingContext.cs (2)
98await File.WriteAllTextAsync(dockerfileBuildAnnotation.DockerfilePath, dockerfileContent, cancellationToken).ConfigureAwait(false); 103File.Copy(dockerfileBuildAnnotation.DockerfilePath, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Kubernetes (2)
KubernetesPublishingContext.cs (2)
86await File.WriteAllTextAsync(dockerfileBuildAnnotation.DockerfilePath, dockerfileContent, cancellationToken).ConfigureAwait(false); 91File.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);