minikube/deploy/iso/minikube-iso/arch/x86_64/package/nerdctl-bin/nerdctl-bin.mk

20 lines
668 B
Makefile

################################################################################
#
# nerdctl-bin
#
################################################################################
NERDCTL_BIN_VERSION = 2.1.3
NERDCTL_BIN_COMMIT = ff9323859a8d7892d8d72380a17b99395ef9a516
NERDCTL_BIN_SITE = https://github.com/containerd/nerdctl/releases/download/v$(NERDCTL_BIN_VERSION)
NERDCTL_BIN_SOURCE = nerdctl-$(NERDCTL_BIN_AARCH64_VERSION)-linux-amd64.tar.gz
NERDCTL_BIN_STRIP_COMPONENTS = 0
define NERDCTL_BIN_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 \
$(@D)/nerdctl \
$(TARGET_DIR)/usr/bin/nerdctl
endef
$(eval $(generic-package))