X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/47a38cc79483fde0446af38ba2d685178b2eea51..916ec66d0caeeb37983043810bea22e0bc41751f:/build/run-build-packages-one-target.sh diff --git a/build/run-build-packages-one-target.sh b/build/run-build-packages-one-target.sh index 2be5878bcb..378c9bbfa3 100755 --- a/build/run-build-packages-one-target.sh +++ b/build/run-build-packages-one-target.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash # Copyright (C) The Arvados Authors. All rights reserved. # # SPDX-License-Identifier: AGPL-3.0 @@ -10,7 +10,7 @@ Syntax: WORKSPACE=/path/to/arvados $(basename $0) [options] --target - Distribution to build packages for (default: debian8) + Distribution to build packages for (default: debian9) --command Build command to execute (default: use built-in Docker image command) --test-packages @@ -57,7 +57,7 @@ if [ $? -ne 0 ]; then exit 1 fi -TARGET=debian8 +TARGET=debian9 COMMAND= DEBUG= @@ -232,8 +232,7 @@ if [[ -n "$test_packages" ]]; then fi echo echo "START: $p test on $IMAGE" >&2 - # ulimit option can be removed when debian8 and ubuntu1404 are retired - if docker run --ulimit nofile=4096:4096 \ + if docker run \ --rm \ "${docker_volume_args[@]}" \ --env ARVADOS_DEBUG=$ARVADOS_DEBUG \ @@ -262,8 +261,8 @@ else set +e mv -f ${WORKSPACE}/packages/${TARGET}/* ${WORKSPACE}/packages/${TARGET}/processed/ 2>/dev/null set -e - # Build packages. ulimit option can be removed when debian8 and ubuntu1404 are retired - if docker run --ulimit nofile=4096:4096 \ + # Build packages. + if docker run \ --rm \ "${docker_volume_args[@]}" \ --env ARVADOS_BUILDING_VERSION="$ARVADOS_BUILDING_VERSION" \