Skip to content

Commit

Permalink
Merge pull request #2901 from twz123/force-host-go
Browse files Browse the repository at this point in the history
Use FORCE_HOST_GO=y when building Kubernetes
  • Loading branch information
twz123 authored Mar 22, 2023
2 parents 145e316 + 05a2fa0 commit 6b1fe51
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 6b1fe51

Please sign in to comment.