Skip to content

Commit c1238f3

Browse files
committed
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.
1 parent f386b4c commit c1238f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/common.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@ function kube::build::copy_output() {
714714
--filter='+ /vendor/' \
715715
--filter='+ /staging/***/Godeps/**' \
716716
--filter='+ /_output/dockerized/bin/**' \
717+
--filter='- /_output/dockerized/go/**' \
717718
--filter='+ zz_generated.*' \
718719
--filter='+ generated.proto' \
719720
--filter='+ *.pb.go' \

0 commit comments

Comments
 (0)