mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
build: don't copy GOPATH out of docker container
When using GOTOOLCHAIN with make verify the build results copied out of the dockerized environment contains a go toolchain folder that is write protected. In order to prevent failures during the cleanup step opt-out of copying $GOPATH to the host.
This commit is contained in:
parent
f386b4cd4a
commit
c1238f345a
@ -714,6 +714,7 @@ function kube::build::copy_output() {
|
||||
--filter='+ /vendor/' \
|
||||
--filter='+ /staging/***/Godeps/**' \
|
||||
--filter='+ /_output/dockerized/bin/**' \
|
||||
--filter='- /_output/dockerized/go/**' \
|
||||
--filter='+ zz_generated.*' \
|
||||
--filter='+ generated.proto' \
|
||||
--filter='+ *.pb.go' \
|
||||
|
Loading…
Reference in New Issue
Block a user