Merge pull request #12736 from dotnet/remove-ulimit

Remove-ulimit
This commit is contained in:
Daniel Plaisted 2021-11-30 10:44:32 -08:00 committed by GitHub
commit 33c0854bda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

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

View file

@ -25,10 +25,6 @@ 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