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)
386
var dockerfilePath = annotation.
DockerfilePath
;
Publishing\ResourceContainerImageManager.cs (1)
990
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)
656
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
672
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
689
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
705
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
722
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
738
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
755
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
771
Assert.Equal(tempDockerfilePath, annotation.
DockerfilePath
);
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
1981
$"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)
542
Assert.Equal(customDockerfile, dockerfile.
DockerfilePath
);
1029
Assert.Equal(Path.Combine(relocatedDir.FullName, "Dockerfile"), dockerfile.
DockerfilePath
);
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (2)
17
Assert.Equal("/path/to/Dockerfile", annotation.
DockerfilePath
);
32
Assert.Equal("/dockerfile", annotation.
DockerfilePath
);
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (1)
404
Assert.NotNull(buildAnnotation.
DockerfilePath
);