kumquat-buildroot/package/docker-compose/docker-compose.mk
Yann E. MORIN 38669bbf0c package/docker-compose: bump to 2.27.1 for bug fixes
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Christian Stewart <christian@aperture.us>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-06-05 22:39:32 +02:00

23 lines
733 B
Makefile

################################################################################
#
# docker-compose
#
################################################################################
DOCKER_COMPOSE_VERSION = 2.27.1
DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION))
DOCKER_COMPOSE_LICENSE = Apache-2.0
DOCKER_COMPOSE_LICENSE_FILES = LICENSE
DOCKER_COMPOSE_BUILD_TARGETS = cmd
DOCKER_COMPOSE_GOMOD = github.com/docker/compose/v2
DOCKER_COMPOSE_LDFLAGS = \
-X github.com/docker/compose/v2/internal.Version=$(DOCKER_COMPOSE_VERSION)
define DOCKER_COMPOSE_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(@D)/bin/cmd \
$(TARGET_DIR)/usr/lib/docker/cli-plugins/docker-compose
endef
$(eval $(golang-package))