Merge pull request #154 from Sridhar-MS/docker-env-fix

Pass all the VSO environment variables to the docker instance.
This commit is contained in:
Sridhar Periyasamy 2015-11-05 14:20:35 -08:00
commit 3886320508

View file

@ -27,5 +27,13 @@ info "Using code from: $DOCKER_HOST_SHARE_DIR"
docker run -t --rm --sig-proxy=true \
--name $DOTNET_BUILD_CONTAINER_NAME \
-v $DOCKER_HOST_SHARE_DIR:/opt/code \
-e DOTNET_BUILD_VERSION=$DOTNET_BUILD_VERSION \
-e DOTNET_BUILD_VERSION \
-e SASTOKEN \
-e STORAGE_ACCOUNT \
-e STORAGE_CONTAINER \
-e CHANNEL \
-e REPO_ID \
-e REPO_USER \
-e REPO_PASS \
-e REPO_SERVER \
$DOTNET_BUILD_CONTAINER_TAG $BUILD_COMMAND $1