NuGet updater should specify a value for $TMP
and $TEMP
#11595
Labels
L: dotnet:nuget
NuGet packages via nuget or dotnet
$TMP
and $TEMP
#11595
Found during an internal log audit.
An internal project with a custom target was trying to copy a file with the following:
But the updater image doesn't have the environment variable
$TEMP
defined so an attempt was made to copy the file to the root of the image which isn't allowed.The Dockerfile should specify a value for both
$TMP
and$TEMP
(and possibly$TMPDIR
) so operations like this can succeed.The text was updated successfully, but these errors were encountered: