Skip to content

Commit

Permalink
Pass RID through ToolTask implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
rainersigwald committed Jan 19, 2023
1 parent bbf039a commit 18ccb52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Microsoft.NET.Build.Containers/CreateNewImageToolTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ protected override string GenerateCommandLineCommands()
(EntrypointArgs.Length > 0 ? " --entrypointargs " + String.Join(" ", EntrypointArgs.Select((i) => i.ItemSpec)) : "") +
(ExposedPorts.Length > 0 ? " --ports " + String.Join(" ", ExposedPorts.Select((i) => i.ItemSpec + "/" + i.GetMetadata("Type"))) : "") +
(ContainerEnvironmentVariables.Length > 0 ? " --environmentvariables " + String.Join(" ", ContainerEnvironmentVariables.Select((i) => i.ItemSpec + "=" + Quote(i.GetMetadata("Value")))) : "") +
$" --rid {Quote(ContainerRuntimeIdentifier)}" +
$" --ridgraphpath {Quote(RuntimeIdentifierGraphPath)}";
}

Expand Down

0 comments on commit 18ccb52

Please sign in to comment.