Merge pull request #21520 from mikedanese/fastbuild

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2016-02-28 07:23:22 -08:00
3 changed files with 45 additions and 26 deletions

View File

@@ -580,6 +580,11 @@ function kube::build::run_build_command() {
docker_run_opts+=(-e "KUBERNETES_CONTRIB=${KUBERNETES_CONTRIB}")
fi
docker_run_opts+=(
--env "KUBE_FASTBUILD=${KUBE_FASTBUILD:-false}"
--env "KUBE_BUILDER_OS=${OSTYPE:-notdetected}"
)
# If we have stdin we can run interactive. This allows things like 'shell.sh'
# to work. However, if we run this way and don't have stdin, then it ends up
# running in a daemon-ish mode. So if we don't have a stdin, we explicitly