2022-01-09 22:06:07 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# moby-buildkit
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-05-04 09:33:10 +02:00
|
|
|
MOBY_BUILDKIT_VERSION = 0.11.6
|
2022-01-09 22:06:07 +01:00
|
|
|
MOBY_BUILDKIT_SITE = $(call github,moby,buildkit,v$(MOBY_BUILDKIT_VERSION))
|
|
|
|
MOBY_BUILDKIT_LICENSE = Apache-2.0
|
|
|
|
MOBY_BUILDKIT_LICENSE_FILES = LICENSE
|
|
|
|
|
|
|
|
MOBY_BUILDKIT_GOMOD = github.com/moby/buildkit
|
|
|
|
|
|
|
|
MOBY_BUILDKIT_TAGS = cgo
|
|
|
|
MOBY_BUILDKIT_BUILD_TARGETS = cmd/buildctl cmd/buildkitd
|
|
|
|
|
|
|
|
MOBY_BUILDKIT_LDFLAGS = \
|
|
|
|
-X $(MOBY_BUILDKIT_GOMOD)/version.Version="$(MOBY_BUILDKIT_VERSION)"
|
|
|
|
|
|
|
|
MOBY_BUILDKIT_INSTALL_BINS = $(notdir $(MOBY_BUILDKIT_BUILD_TARGETS))
|
|
|
|
|
2022-01-24 08:48:53 +01:00
|
|
|
HOST_MOBY_BUILDKIT_TAGS = cgo
|
|
|
|
HOST_MOBY_BUILDKIT_BUILD_TARGETS = cmd/buildctl cmd/buildkitd
|
|
|
|
|
|
|
|
HOST_MOBY_BUILDKIT_INSTALL_BINS = $(notdir $(HOST_MOBY_BUILDKIT_BUILD_TARGETS))
|
|
|
|
|
2022-01-09 22:06:07 +01:00
|
|
|
$(eval $(golang-package))
|
2022-01-24 08:48:53 +01:00
|
|
|
$(eval $(host-golang-package))
|