From d00c3ce7425a39a87f10ef2425f3de598a4d76d7 Mon Sep 17 00:00:00 2001 From: Bryan Thornbury Date: Thu, 22 Oct 2015 15:39:13 -0700 Subject: [PATCH] dockerbuild parallelization --- scripts/dockerbuild.sh | 3 +-- scripts/windows_dockerbuild.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/dockerbuild.sh b/scripts/dockerbuild.sh index 39e99aa27..204636c63 100755 --- a/scripts/dockerbuild.sh +++ b/scripts/dockerbuild.sh @@ -22,8 +22,7 @@ docker build -t $DOTNET_BUILD_CONTAINER_TAG scripts/docker/ # Run the build in the container docker rm -f $DOTNET_BUILD_CONTAINER_NAME -docker run \ +docker run --rm \ -v $DOCKER_HOST_SHARE_DIR:/opt/code \ - --name $DOTNET_BUILD_CONTAINER_NAME \ -e DOTNET_BUILD_VERSION=$DOTNET_BUILD_VERSION \ $DOTNET_BUILD_CONTAINER_TAG $BUILD_COMMAND $1 diff --git a/scripts/windows_dockerbuild.sh b/scripts/windows_dockerbuild.sh index baef8cdd9..940bce6e8 100644 --- a/scripts/windows_dockerbuild.sh +++ b/scripts/windows_dockerbuild.sh @@ -84,7 +84,7 @@ run_build(){ export DOCKER_HOST_SHARE_DIR="$(_convert_path $VM_CODE_DIR)" export BUILD_COMMAND="//opt\\code\\build.sh" - $DIR/dockerbuild.sh + $DIR/dockerbuild.sh debian } # This will duplicate the entire repo + any side effects from