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 合并指标
 (平均合并 12天 19小时) (30 天内合并 43 个 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

贡献者指南