What's Changed: - Fix search/replace typo in --no-TTY documentation by @ericfreese - Fix panic with down command when -p flag specified by @glours - use project we just created to start services by @ndeloof - include services declared by links as implicit dependencies by @ndeloof - pull to respect pull_policy by @ndeloof - don't ignore error by @ndeloof - project name MUST be lowercase by @ndeloof - add support for build secrets by @ndeloof - create also a checksums.txt file, add --binary by @MaxPeal - add support for ppc64le for docker compose by @snehakpersistent - inspect image ID after pull to se com.docker.compose.image by @ndeloof - Fix cannot setup IPAM gateway by @qnap-ericfan New Contributors: - @ericfreese made their first contribution - @MaxPeal made their first contribution - @snehakpersistent made their first contribution - @qnap-ericfan made their first contribution Signed-off-by: Javier Marcet <javier@marcet.info>
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=compose
|
|
PKG_VERSION:=2.5.0
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_SOURCE:=v$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/docker/compose/tar.gz/v${PKG_VERSION}?
|
|
PKG_HASH:=e002f4f50bfb1b3c937dc0a86a8a59395182fe1288e4ed3429db5771f68f7320
|
|
|
|
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
|
|
|
|
PKG_BUILD_DEPENDS:=golang/host
|
|
PKG_BUILD_PARALLEL:=1
|
|
PKG_USE_MIPS16:=0
|
|
|
|
GO_PKG:=github.com/docker/compose/v2
|
|
GO_PKG_BUILD_PKG:=github.com/docker/compose/v2/cmd
|
|
GO_PKG_LDFLAGS_X:=github.com/docker/compose/v2/internal.Version=v$(PKG_VERSION)
|
|
GO_PKG_TAGS:=e2e,kube
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../../lang/golang/golang-package.mk
|
|
|
|
define Package/docker-compose
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=Docker Compose
|
|
URL:=https://github.com/docker/compose
|
|
DEPENDS:=$(GO_ARCH_DEPENDS) +docker
|
|
endef
|
|
|
|
define Package/docker-compose/description
|
|
Multi-container orchestration for Docker
|
|
endef
|
|
|
|
define Package/docker-compose/install
|
|
$(INSTALL_DIR) $(1)/usr/lib/docker/cli-plugins/
|
|
$(INSTALL_BIN) $(GO_PKG_BUILD_BIN_DIR)/cmd $(1)/usr/lib/docker/cli-plugins/docker-compose
|
|
$(INSTALL_DIR) $(1)/usr/bin/
|
|
$(LN) ../lib/docker/cli-plugins/docker-compose $(1)/usr/bin/docker-compose
|
|
endef
|
|
|
|
$(eval $(call GoBinPackage,docker-compose))
|
|
$(eval $(call BuildPackage,docker-compose))
|