mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Include almost the whole tree in the build img
This commit is contained in:
parent
2a7b2fd37e
commit
7e5b59b08c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user