24 references to DockerfilePath
Aspire.Hosting (10)
ApplicationModel\DockerfileBuildAnnotation.cs (5)
112await File.WriteAllTextAsync(DockerfilePath, dockerfileContent, cancellationToken).ConfigureAwait(false); 128/// are emitted next to <see cref="DockerfilePath"/>. 155if (!PathEquals(DockerfilePath, dockerfilePath)) 157File.Copy(DockerfilePath, dockerfilePath, overwrite: true); 161await EmitBuildContextIgnoreAsync(dockerfilePath ?? DockerfilePath, cancellationToken).ConfigureAwait(false);
Dcp\ContainerCreator.cs (1)
659Dockerfile = dockerfileBuildAnnotation.DockerfilePath,
Publishing\ManifestPublishingContext.cs (1)
380var dockerfilePath = annotation.DockerfilePath;
Publishing\ResourceContainerImageManager.cs (1)
993dockerfileBuildAnnotation.DockerfilePath,
Utils\DockerfileHelper.cs (2)
45var dockerfileContent = await File.ReadAllTextAsync(annotation.DockerfilePath, cancellationToken).ConfigureAwait(false); 48annotation.DockerfilePath,
Aspire.Hosting.Containers.Tests (8)
WithDockerfileTests.cs (8)
658Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 674Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 691Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 707Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 724Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 740Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 757Assert.Equal(tempDockerfilePath, annotation.DockerfilePath); 773Assert.Equal(tempDockerfilePath, annotation.DockerfilePath);
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
1983$"JavaScript app resource '{resource.Name}' is configured to run script '{runScript.ScriptName}'{argsClause}, but publish is using the existing Dockerfile '{dockerfileBuildAnnotation.DockerfilePath}'. " +
Aspire.Hosting.Rust.Tests (2)
AddRustAppPublishTests.cs (2)
544Assert.Equal(customDockerfile, dockerfile.DockerfilePath); 1031Assert.Equal(Path.Combine(relocatedDir.FullName, "Dockerfile"), dockerfile.DockerfilePath);
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (2)
19Assert.Equal("/path/to/Dockerfile", annotation.DockerfilePath); 34Assert.Equal("/dockerfile", annotation.DockerfilePath);
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (1)
406Assert.NotNull(buildAnnotation.DockerfilePath);