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