22 references to DockerfilePath
Aspire.Hosting (8)
ApplicationModel\DockerfileBuildAnnotation.cs (1)
99
await File.WriteAllTextAsync(
DockerfilePath
, dockerfileContent, cancellationToken).ConfigureAwait(false);
Dcp\DcpExecutor.cs (2)
2146
Dockerfile = dockerfileBuildAnnotation.
DockerfilePath
,
2187
Dockerfile = dockerfileBuildAnnotation.
DockerfilePath
,
Publishing\ManifestPublishingContext.cs (2)
370
var dockerfilePath = annotation.
DockerfilePath
;
381
File.Copy(annotation.
DockerfilePath
, resourceDockerfilePath, overwrite: true);
Publishing\ResourceContainerImageManager.cs (1)
435
dockerfileBuildAnnotation.
DockerfilePath
,
Utils\DockerfileHelper.cs (2)
45
var dockerfileContent = await File.ReadAllTextAsync(annotation.
DockerfilePath
, cancellationToken).ConfigureAwait(false);
48
annotation.
DockerfilePath
,
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
329
File.Copy(dockerfileBuildAnnotation.
DockerfilePath
, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Containers.Tests (8)
WithDockerfileTests.cs (8)
645
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
660
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
676
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
691
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
707
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
722
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
738
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
753
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
100
File.Copy(dockerfileBuildAnnotation.
DockerfilePath
, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Kubernetes (1)
KubernetesPublishingContext.cs (1)
88
File.Copy(dockerfileBuildAnnotation.
DockerfilePath
, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (2)
18
Assert.Equal("/path/to/Dockerfile", annotation.
DockerfilePath
);
33
Assert.Equal("/dockerfile", annotation.
DockerfilePath
);
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (1)
405
Assert.NotNull(buildAnnotation.
DockerfilePath
);