Include almost the whole tree in the build img

This commit is contained in:
Tim Hockin 2016-05-30 18:47:04 -07:00
parent 2a7b2fd37e
commit 7e5b59b08c

View File

@ -481,24 +481,9 @@ function kube::build::build_image_built() {
# The set of source targets to include in the kube-build image # The set of source targets to include in the kube-build image
function kube::build::source_targets() { function kube::build::source_targets() {
local targets=( local targets=(
api $(find . -mindepth 1 -maxdepth 1 -not \( \
build \( -path ./_\* -o -path ./.git\* \) -prune \
cluster \))
cmd
docs
examples
federation
Godeps/Godeps.json
hack
LICENSE
pkg
plugin
DESIGN.md
README.md
test
third_party
vendor
contrib/mesos
) )
if [ -n "${KUBERNETES_CONTRIB:-}" ]; then if [ -n "${KUBERNETES_CONTRIB:-}" ]; then
for contrib in "${KUBERNETES_CONTRIB}"; do for contrib in "${KUBERNETES_CONTRIB}"; do