kubernetes/minikube

nerdctl-bin x86_64 package references wrong version variable

Aperta

#23.436 aperta il 4 ago 2026

 (1 commento) (0 reazioni) (1 assegnatario)Go (5222 fork)batch import
good first issue

Metriche repository

Star
 (31.799 stelle)
Metriche merge PR
 (Merge medio 12g 19h) (43 PR mergiate in 30 g)

Descrizione

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

Guida contributor