kubernetes/minikube

nerdctl-bin x86_64 package references wrong version variable

開放

#23,436 建立於 2026年8月4日

 (1 則留言) (0 個反應) (1 位負責人)Go (5,222 個分叉)batch import
good first issue

倉庫指標

星標
 (31,799 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Bug

In deploy/iso/minikube-iso/arch/x86_64/package/nerdctl-bin/nerdctl-bin.mk, the NERDCTL_BIN_SOURCE line references NERDCTL_BIN_AARCH64_VERSION instead of NERDCTL_BIN_VERSION:

NERDCTL_BIN_VERSION = 2.3.5
...
NERDCTL_BIN_SOURCE = nerdctl-$(NERDCTL_BIN_AARCH64_VERSION)-linux-amd64.tar.gz

It should be:

NERDCTL_BIN_SOURCE = nerdctl-$(NERDCTL_BIN_VERSION)-linux-amd64.tar.gz

Impact

This currently works by accident because both architectures use the same nerdctl version, so NERDCTL_BIN_AARCH64_VERSION resolves correctly when both packages are configured. It would break if the versions ever diverged or if the x86_64 package were built in isolation.

Fix

Change line 10 of deploy/iso/minikube-iso/arch/x86_64/package/nerdctl-bin/nerdctl-bin.mk from:

NERDCTL_BIN_SOURCE = nerdctl-$(NERDCTL_BIN_AARCH64_VERSION)-linux-amd64.tar.gz

to:

NERDCTL_BIN_SOURCE = nerdctl-$(NERDCTL_BIN_VERSION)-linux-amd64.tar.gz

貢獻者指南