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