23 references to DockerfilePath
Aspire.Hosting (9)
Dcp\DcpExecutor.cs (3)
1528
await File.WriteAllTextAsync(dockerfileBuildAnnotation.
DockerfilePath
, dockerfileContent, cancellationToken).ConfigureAwait(false);
1556
Dockerfile = dockerfileBuildAnnotation.
DockerfilePath
,
1597
Dockerfile = dockerfileBuildAnnotation.
DockerfilePath
,
Publishing\ManifestPublishingContext.cs (3)
306
string dockerfilePath = annotation.
DockerfilePath
;
320
await File.WriteAllTextAsync(annotation.
DockerfilePath
, dockerfileContent, CancellationToken).ConfigureAwait(false);
326
File.Copy(annotation.
DockerfilePath
, resourceDockerfilePath, overwrite: true);
Publishing\ResourceContainerImageBuilder.cs (3)
357
await File.WriteAllTextAsync(dockerfileBuildAnnotation.
DockerfilePath
, dockerfileContent, cancellationToken).ConfigureAwait(false);
388
dockerfileBuildAnnotation.
DockerfilePath
,
413
dockerfileBuildAnnotation.
DockerfilePath
,
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (2)
329
await File.WriteAllTextAsync(dockerfileBuildAnnotation.
DockerfilePath
, dockerfileContent, cancellationToken).ConfigureAwait(false);
334
File.Copy(dockerfileBuildAnnotation.
DockerfilePath
, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Containers.Tests (8)
WithDockerfileTests.cs (8)
624
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
639
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
655
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
670
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
686
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
701
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
717
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
732
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
Aspire.Hosting.Docker (2)
DockerComposePublishingContext.cs (2)
103
await File.WriteAllTextAsync(dockerfileBuildAnnotation.
DockerfilePath
, dockerfileContent, cancellationToken).ConfigureAwait(false);
108
File.Copy(dockerfileBuildAnnotation.
DockerfilePath
, resourceDockerfilePath, overwrite: true);
Aspire.Hosting.Kubernetes (2)
KubernetesPublishingContext.cs (2)
87
await File.WriteAllTextAsync(dockerfileBuildAnnotation.
DockerfilePath
, dockerfileContent, cancellationToken).ConfigureAwait(false);
92
File.Copy(dockerfileBuildAnnotation.
DockerfilePath
, resourceDockerfilePath, overwrite: true);