dockerbuild parallelization

This commit is contained in:
Bryan Thornbury 2015-10-22 15:39:13 -07:00
parent 7a5354d4b5
commit d00c3ce742
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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