mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-12-01 07:26:05 +07:00
add missing GOTOOLCHAIN
This commit is contained in:
@@ -160,6 +160,7 @@ RUN git clone --filter=tree:0 "${CRI_TOOLS_CLONE_URL}" /cri-tools \
|
||||
&& cd /cri-tools \
|
||||
&& git checkout "${CRICTL_VERSION}" \
|
||||
&& eval "$(gimme "${GO_VERSION}")" \
|
||||
&& export GOTOOLCHAIN="go${GO_VERSION}" \
|
||||
&& export GOARCH=$TARGETARCH && export CC=$(target-cc) && export CGO_ENABLED=1 \
|
||||
&& make BUILD_BIN_PATH=./build crictl \
|
||||
&& GOARCH=$TARGETARCH go-licenses save --save_path=/_LICENSES ./cmd/crictl
|
||||
|
||||
Reference in New Issue
Block a user