Enable docker support for centos builds

- Added an option '--buildindocker <osname>' to build.sh
- Fixed bug which caused packaging to be skipped by default.
- Fixed bug which caused tarballs to be generated twice.
- Fixed bug to propagate build params(like debug, nopackage) to docker build.
This commit is contained in:
Sridhar Periyasamy 2016-01-07 18:50:00 -08:00
parent fee3785ad2
commit 5155aa61d7
10 changed files with 94 additions and 62 deletions

View file

@ -43,13 +43,3 @@ DOTNET_HOME=$STAGE2_DIR DOTNET_TOOLS=$STAGE2_DIR $REPOROOT/scripts/test/runtests
header "Validating Dependencies"
$REPOROOT/scripts/test/validate-dependencies.sh
header "Generating tarball"
$REPOROOT/scripts/package/package.sh
if [ ! -z "$NOPACKAGE" ]; then
header "Generating Native Installer"
$REPOROOT/scripts/package/package-native.sh
else
header "Skipping packaging"
fi