in tool/TeamCity.Docker/TeamCityKotlinSettingsGenerator.cs [1007:1033]
private IEnumerable<string> CreateBuildCommand(Image image)
{
var tag = image.File.Tags.First();
yield return "dockerCommand {";
yield return $"{GetDockerStepStatusDsl(tag)}";
yield return $"\t name = \"build {image.File.ImageId}:{tag}\"";
yield return "\t commandType = build {";
yield return "\t\t source = file {";
yield return $"\t\t\t path = \"\"\"{_pathService.Normalize(Path.Combine(_options.TargetPath, image.File.Path, "Dockerfile"))}\"\"\"";
yield return "\t\t }";
yield return $"\t contextDir = \"{_pathService.Normalize(_options.ContextPath)}\"";
yield return "\t commandArgs = \"--no-cache\"";
yield return "\t namesAndTags = \"\"\"";
yield return $"{image.File.ImageId}:{tag}";
yield return "\"\"\".trimIndent()";
yield return "}";
yield return $"param(\"dockerImage.platform\", \"{image.File.Platform}\")";
yield return "}";
yield return string.Empty;
}