What's Changed: - 2.3.2: - Fix json format for version command by @victor-timofei - filter containers after project has been rebuilt from resources by @ndeloof - publish a draft release with auto generate release notes by @glours - map --interactive to StdinOpen by @ndeloof - 2.3.1: - Support COMPOSE_IGNORE_ORPHANS for compose run by @PIG208 - don't try to start dependencies when there are none by @ndeloof - don't failed when trying to stop or rm services with no containers ru… by @glours - 2.3.0: - Don't wait forever for unhealthy dependencies by @benesch - Add progress output while waiting for dependencies by @benesch - Discard env_file section on convert/config by @ulyssessouza - Return only numbers in short version by @guillaumerose - Don't SetRawTerminal() when exec is run with -T by @x-yuri - only remove volumes set by compose file by @ndeloof - Set NetworkMode correctly according to network priorities by @laurazard - go.mod: github.com/buger/goterm v1.0.4 by @thaJeztah - Fix typo in reference/compose_up.md by @danBamikiya - Fix pause/unpause by only applying to running containers by @ulyssessouza - use CustomLabels for composeV2 metadata and not impact service hash by @ndeloof - use golangci-lint-action by @ndeloof - Adds support to list the config files on docker compose ls by @KoditkarVedant - declare --volume as an alias for --volumes by @ndeloof - bump buildx to 0.7.1 by @ndeloof - Wait and scale 0 by @glours - Bump github.com/containerd/containerd from 1.5.8 to 1.6.0 by @dependabot - COMPOSE_REMOVE_ORPHANS can be set to always apply --remove-orphans by @ndeloof - Using start, stop, restart from outside the working directory using --project-name (#9147) by @arhemd - exclude com.docker.compose.image label from service hash by @ndeloof - Bump compose-go 1.0.9 by @ulyssessouza - Bump compose-go 1.1.0 by @ulyssessouza - Bump docker/distribution -> v2.8.0 by @ulyssessouza - report external volume name not found by @ndeloof - Bump github.com/containerd/containerd from 1.6.0 to 1.6.1 by @dependabot - CONTRIBUTING.md file. Update slack sign-up link by @teror4uks - Add function to convert strings to bool by @ulyssessouza - Add -i and -t to run and exec by @ulyssessouza 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.3.2
|
|
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:=11c1ea791698ec04c56d69207cf7b256e11b8dd2b4ae7b21cb5cdf875f5fe00a
|
|
|
|
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))
|