1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-19 23:28:39 +02:00
openwrt-packages/utils/docker-compose/Makefile
Javier Marcet c453c42bf8 docker-compose: Update to version 2.2.0
What's Changed:

 - Better detect container will restart by @ndeloof in #8898

 - Type mismatch checking tmpfs conflicting options by @ndeloof in
  #8904

 - Remove unused flag by @ulyssessouza in #8923

 - Use Dockerfile directly when path is absolute otherwise join it
 with Context path by @glours in #8929

 - Interrupt printer when compose log is cancelled by @ndeloof in
 #8926

 - Restore compose build to support context set as a git URL by
 @ndeloof in #8933

 - Upgrade containerd version - security fix by @glours in #8936

 - Don't SetRawTerminal when run is ran with -T by @ndeloof in #8938

 - Fix typo in --wait option mechanism by @PierreAntoineGuillaume in
 #8888

 - Detect volume we didn't created and ask user to explicitely mark
 them as external by @ndeloof in #8941

 - Bump compose-go to v1.0.8 by @mat007 in #8956

 - Don't normalize compose model in compatibility mode by @ndeloof
 in #8943

 - Don't try to start services with 0 replicas by @akerouanton in
 #8834

 - Introduce docker compose config --images by @ndeloof in #8955

 - Introduce run —quiet-pull to align with up by @ndeloof in #8947

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-29 01:41:57 -08:00

48 lines
1.4 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=compose
PKG_VERSION:=2.2.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:=5699734a4625507cf3e2382e056a0ff7ec60c9e1d654d8c7d93baf844313bcf9
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))