Merge branch 'release/6.0.1xx' into main

This commit is contained in:
Jason Zhai 2021-11-04 22:44:46 -07:00
commit 392fa9ffcd
2 changed files with 7 additions and 1 deletions

View file

@ -53,5 +53,7 @@ dockerbuild()
if [ ! -z "$BUILD_IN_DOCKER" ]; then
dockerbuild $args
else
$DIR/run-build.sh $args
# Run under sudo so we can set ulimit
# See https://github.com/dotnet/core-eng/issues/14808
sudo $DIR/run-build.sh $args
fi

View file

@ -25,6 +25,10 @@ CUSTOM_BUILD_ARGS=
# Set nuget package cache under the repo
[ -z $NUGET_PACKAGES ] && export NUGET_PACKAGES="$REPOROOT/.nuget/packages"
# Set max number of files open, helps avoid errors during NuGet restore
# See https://github.com/dotnet/core-eng/issues/14808
ulimit -n 16384
args=( )
while [[ $# > 0 ]]; do