mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-29 06:27:14 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user