21 lines
524 B
Makefile
21 lines
524 B
Makefile
|
################################################################################
|
||
|
#
|
||
|
# nerdctl
|
||
|
#
|
||
|
################################################################################
|
||
|
|
||
|
NERDCTL_VERSION = 1.2.0
|
||
|
NERDCTL_SITE = $(call github,containerd,nerdctl,v$(NERDCTL_VERSION))
|
||
|
|
||
|
NERDCTL_LICENSE = Apache-2.0
|
||
|
NERDCTL_LICENSE_FILES = LICENSE
|
||
|
|
||
|
NERDCTL_GOMOD = github.com/containerd/nerdctl
|
||
|
|
||
|
NERDCTL_LDFLAGS = \
|
||
|
-X $(NERDCTL_GOMOD)/pkg/version.Version=$(NERDCTL_VERSION)
|
||
|
|
||
|
NERDCTL_BUILD_TARGETS = cmd/nerdctl
|
||
|
|
||
|
$(eval $(golang-package))
|