Skip to content

Commit

Permalink
Merge pull request #2905 from k0sproject/backport-2901-to-release-1.26
Browse files Browse the repository at this point in the history
[Backport release-1.26] Use FORCE_HOST_GO=y when building Kubernetes
  • Loading branch information
twz123 authored Mar 28, 2023
2 parents a0af59d + 5d31776 commit c45a520
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embedded-bins/kubernetes/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN \
export KUBE_CGO_OVERRIDES=$commands; \
fi; \
mkdir /out; \
export FORCE_HOST_GO=y; \
export KUBE_GIT_VERSION="v$VERSION+k0s"; \
for cmd in $commands; do \
make GOFLAGS="${BUILD_GO_FLAGS} -tags=${BUILD_GO_TAGS}" GOLDFLAGS="${BUILD_GO_LDFLAGS_EXTRA}" WHAT=cmd/$cmd; \
Expand Down

0 comments on commit c45a520

Please sign in to comment.