commit
33c0854bda
2 changed files with 1 additions and 7 deletions
4
build.sh
4
build.sh
|
@ -53,7 +53,5 @@ dockerbuild()
|
||||||
if [ ! -z "$BUILD_IN_DOCKER" ]; then
|
if [ ! -z "$BUILD_IN_DOCKER" ]; then
|
||||||
dockerbuild $args
|
dockerbuild $args
|
||||||
else
|
else
|
||||||
# Run under sudo so we can set ulimit
|
$DIR/run-build.sh $args
|
||||||
# See https://github.com/dotnet/core-eng/issues/14808
|
|
||||||
sudo -E $DIR/run-build.sh $args
|
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -25,10 +25,6 @@ CUSTOM_BUILD_ARGS=
|
||||||
# Set nuget package cache under the repo
|
# Set nuget package cache under the repo
|
||||||
[ -z $NUGET_PACKAGES ] && export NUGET_PACKAGES="$REPOROOT/.nuget/packages"
|
[ -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=( )
|
args=( )
|
||||||
|
|
||||||
while [[ $# > 0 ]]; do
|
while [[ $# > 0 ]]; do
|
||||||
|
|
Loading…
Reference in a new issue