24 references to DockerfilePath
Aspire.Hosting (10)
ApplicationModel\DockerfileBuildAnnotation.cs (5)
112
await File.WriteAllTextAsync(
DockerfilePath
, dockerfileContent, cancellationToken).ConfigureAwait(false);
128
/// are emitted next to <see cref="
DockerfilePath
"/>.
155
if (!PathEquals(
DockerfilePath
, dockerfilePath))
157
File.Copy(
DockerfilePath
, dockerfilePath, overwrite: true);
161
await EmitBuildContextIgnoreAsync(dockerfilePath ??
DockerfilePath
, cancellationToken).ConfigureAwait(false);
Dcp\ContainerCreator.cs (1)
659
Dockerfile = dockerfileBuildAnnotation.
DockerfilePath
,
Publishing\ManifestPublishingContext.cs (1)
380
var dockerfilePath = annotation.
DockerfilePath
;
Publishing\ResourceContainerImageManager.cs (1)
993
dockerfileBuildAnnotation.
DockerfilePath
,
Utils\DockerfileHelper.cs (2)
45
var dockerfileContent = await File.ReadAllTextAsync(annotation.
DockerfilePath
, cancellationToken).ConfigureAwait(false);
48
annotation.
DockerfilePath
,
Aspire.Hosting.Containers.Tests (8)
WithDockerfileTests.cs (8)
658
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
674
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
691
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
707
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
724
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
740
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
757
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
773
Assert.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)
544
Assert.Equal(customDockerfile, dockerfile.
DockerfilePath
);
1031
Assert.Equal(Path.Combine(relocatedDir.FullName, "Dockerfile"), dockerfile.
DockerfilePath
);
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (2)
19
Assert.Equal("/path/to/Dockerfile", annotation.
DockerfilePath
);
34
Assert.Equal("/dockerfile", annotation.
DockerfilePath
);
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (1)
406
Assert.NotNull(buildAnnotation.
DockerfilePath
);