openwrt-packages/utils/docker-compose/Makefile

48 lines
1.4 KiB
Makefile
Raw Normal View History

include $(TOPDIR)/rules.mk
docker-compose: Update to version 2.1.0 Docker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). Features: - Added support for running the plugin as a standalone program. Like docker-compose v1 would behave compute sha256 checksums while releasing Bugfixes: - Allow combination of --status and --services - Fix build cache_from option - Fix compose up on README.md - Make --status a multi-flag - No longer fail when inferred .env is a directory Misc - Stop ticker after use on ttyWriter - Use uname -m for cross platform suffixes - Add note about installing it system-wide - Bump containerd 1.5.5 What's Changed - Fix support for devices by @ndeloof in #8732 - Make command descriptions consistent by @mat007 in #8739 - Restore missing version commands by @Shikachuu in #8738 - Add step in README to install on linux by @Yopadd in #8755 - log --follow must stop when container get killed by @ndeloof in #8726 - Fix index out of range on compose.buildContainerMountOptions by @ulyssessouza in #8750 - Pass runtime option to containerCreate by @ndeloof in #8783 - Fix compose down --timeout/-t flag by @debdutdeb in #8788 - Fix network_mode "service:x" by @ulyssessouza in #8792 - Make service>build>dockerfile a simple filename by @ulyssessouza in #8779 - Compose exec cannot process more than 32KB of data by @resios in #8815 - Actually fix Compose exec cannot process more than 32KB of data by @resios in #8816 - Fix project settings' options order by @ulyssessouza in #8819 - Update link to Docker Community Slack by @mat007 in #8824 - Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848 - COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847 - Add support for EnableIPv6 by @ndeloof in #8851 - Avoid test flakyness by ordering volumes before checking by @ulyssessouza in #8858 - Update README.md: typographical edit of "About update..." by @youssefeldakar in #8838 - Add support for classic builder by @ulyssessouza in #8818 - Fix typo: netwok -> network by @Mygao in #8789 - Bump compose-go to v1.0.5 by @ulyssessouza in #8870 Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-04 19:27:47 +01:00
PKG_NAME:=compose
PKG_VERSION:=2.27.0
PKG_RELEASE:=1
docker-compose: Update to version 2.1.0 Docker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). Features: - Added support for running the plugin as a standalone program. Like docker-compose v1 would behave compute sha256 checksums while releasing Bugfixes: - Allow combination of --status and --services - Fix build cache_from option - Fix compose up on README.md - Make --status a multi-flag - No longer fail when inferred .env is a directory Misc - Stop ticker after use on ttyWriter - Use uname -m for cross platform suffixes - Add note about installing it system-wide - Bump containerd 1.5.5 What's Changed - Fix support for devices by @ndeloof in #8732 - Make command descriptions consistent by @mat007 in #8739 - Restore missing version commands by @Shikachuu in #8738 - Add step in README to install on linux by @Yopadd in #8755 - log --follow must stop when container get killed by @ndeloof in #8726 - Fix index out of range on compose.buildContainerMountOptions by @ulyssessouza in #8750 - Pass runtime option to containerCreate by @ndeloof in #8783 - Fix compose down --timeout/-t flag by @debdutdeb in #8788 - Fix network_mode "service:x" by @ulyssessouza in #8792 - Make service>build>dockerfile a simple filename by @ulyssessouza in #8779 - Compose exec cannot process more than 32KB of data by @resios in #8815 - Actually fix Compose exec cannot process more than 32KB of data by @resios in #8816 - Fix project settings' options order by @ulyssessouza in #8819 - Update link to Docker Community Slack by @mat007 in #8824 - Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848 - COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847 - Add support for EnableIPv6 by @ndeloof in #8851 - Avoid test flakyness by ordering volumes before checking by @ulyssessouza in #8858 - Update README.md: typographical edit of "About update..." by @youssefeldakar in #8838 - Add support for classic builder by @ulyssessouza in #8818 - Fix typo: netwok -> network by @Mygao in #8789 - Bump compose-go to v1.0.5 by @ulyssessouza in #8870 Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-04 19:27:47 +01:00
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
docker-compose: Update to version 2.1.0 Docker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). Features: - Added support for running the plugin as a standalone program. Like docker-compose v1 would behave compute sha256 checksums while releasing Bugfixes: - Allow combination of --status and --services - Fix build cache_from option - Fix compose up on README.md - Make --status a multi-flag - No longer fail when inferred .env is a directory Misc - Stop ticker after use on ttyWriter - Use uname -m for cross platform suffixes - Add note about installing it system-wide - Bump containerd 1.5.5 What's Changed - Fix support for devices by @ndeloof in #8732 - Make command descriptions consistent by @mat007 in #8739 - Restore missing version commands by @Shikachuu in #8738 - Add step in README to install on linux by @Yopadd in #8755 - log --follow must stop when container get killed by @ndeloof in #8726 - Fix index out of range on compose.buildContainerMountOptions by @ulyssessouza in #8750 - Pass runtime option to containerCreate by @ndeloof in #8783 - Fix compose down --timeout/-t flag by @debdutdeb in #8788 - Fix network_mode "service:x" by @ulyssessouza in #8792 - Make service>build>dockerfile a simple filename by @ulyssessouza in #8779 - Compose exec cannot process more than 32KB of data by @resios in #8815 - Actually fix Compose exec cannot process more than 32KB of data by @resios in #8816 - Fix project settings' options order by @ulyssessouza in #8819 - Update link to Docker Community Slack by @mat007 in #8824 - Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848 - COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847 - Add support for EnableIPv6 by @ndeloof in #8851 - Avoid test flakyness by ordering volumes before checking by @ulyssessouza in #8858 - Update README.md: typographical edit of "About update..." by @youssefeldakar in #8838 - Add support for classic builder by @ulyssessouza in #8818 - Fix typo: netwok -> network by @Mygao in #8789 - Bump compose-go to v1.0.5 by @ulyssessouza in #8870 Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-04 19:27:47 +01:00
PKG_SOURCE_URL:=https://codeload.github.com/docker/compose/tar.gz/v${PKG_VERSION}?
PKG_HASH:=29b2232d1609dff03db74188a7944c85ba8b612f47a7e39938a43db8fb7d7067
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
docker-compose: Update to version 2.1.0 Docker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). Features: - Added support for running the plugin as a standalone program. Like docker-compose v1 would behave compute sha256 checksums while releasing Bugfixes: - Allow combination of --status and --services - Fix build cache_from option - Fix compose up on README.md - Make --status a multi-flag - No longer fail when inferred .env is a directory Misc - Stop ticker after use on ttyWriter - Use uname -m for cross platform suffixes - Add note about installing it system-wide - Bump containerd 1.5.5 What's Changed - Fix support for devices by @ndeloof in #8732 - Make command descriptions consistent by @mat007 in #8739 - Restore missing version commands by @Shikachuu in #8738 - Add step in README to install on linux by @Yopadd in #8755 - log --follow must stop when container get killed by @ndeloof in #8726 - Fix index out of range on compose.buildContainerMountOptions by @ulyssessouza in #8750 - Pass runtime option to containerCreate by @ndeloof in #8783 - Fix compose down --timeout/-t flag by @debdutdeb in #8788 - Fix network_mode "service:x" by @ulyssessouza in #8792 - Make service>build>dockerfile a simple filename by @ulyssessouza in #8779 - Compose exec cannot process more than 32KB of data by @resios in #8815 - Actually fix Compose exec cannot process more than 32KB of data by @resios in #8816 - Fix project settings' options order by @ulyssessouza in #8819 - Update link to Docker Community Slack by @mat007 in #8824 - Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848 - COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847 - Add support for EnableIPv6 by @ndeloof in #8851 - Avoid test flakyness by ordering volumes before checking by @ulyssessouza in #8858 - Update README.md: typographical edit of "About update..." by @youssefeldakar in #8838 - Add support for classic builder by @ulyssessouza in #8818 - Fix typo: netwok -> network by @Mygao in #8789 - Bump compose-go to v1.0.5 by @ulyssessouza in #8870 Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-04 19:27:47 +01:00
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1
PKG_BUILD_FLAGS:=no-mips16
docker-compose: Update to version 2.1.0 Docker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). Features: - Added support for running the plugin as a standalone program. Like docker-compose v1 would behave compute sha256 checksums while releasing Bugfixes: - Allow combination of --status and --services - Fix build cache_from option - Fix compose up on README.md - Make --status a multi-flag - No longer fail when inferred .env is a directory Misc - Stop ticker after use on ttyWriter - Use uname -m for cross platform suffixes - Add note about installing it system-wide - Bump containerd 1.5.5 What's Changed - Fix support for devices by @ndeloof in #8732 - Make command descriptions consistent by @mat007 in #8739 - Restore missing version commands by @Shikachuu in #8738 - Add step in README to install on linux by @Yopadd in #8755 - log --follow must stop when container get killed by @ndeloof in #8726 - Fix index out of range on compose.buildContainerMountOptions by @ulyssessouza in #8750 - Pass runtime option to containerCreate by @ndeloof in #8783 - Fix compose down --timeout/-t flag by @debdutdeb in #8788 - Fix network_mode "service:x" by @ulyssessouza in #8792 - Make service>build>dockerfile a simple filename by @ulyssessouza in #8779 - Compose exec cannot process more than 32KB of data by @resios in #8815 - Actually fix Compose exec cannot process more than 32KB of data by @resios in #8816 - Fix project settings' options order by @ulyssessouza in #8819 - Update link to Docker Community Slack by @mat007 in #8824 - Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848 - COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847 - Add support for EnableIPv6 by @ndeloof in #8851 - Avoid test flakyness by ordering volumes before checking by @ulyssessouza in #8858 - Update README.md: typographical edit of "About update..." by @youssefeldakar in #8838 - Add support for classic builder by @ulyssessouza in #8818 - Fix typo: netwok -> network by @Mygao in #8789 - Bump compose-go to v1.0.5 by @ulyssessouza in #8870 Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-04 19:27:47 +01:00
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
docker-compose: Update to version 2.1.0 Docker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). Features: - Added support for running the plugin as a standalone program. Like docker-compose v1 would behave compute sha256 checksums while releasing Bugfixes: - Allow combination of --status and --services - Fix build cache_from option - Fix compose up on README.md - Make --status a multi-flag - No longer fail when inferred .env is a directory Misc - Stop ticker after use on ttyWriter - Use uname -m for cross platform suffixes - Add note about installing it system-wide - Bump containerd 1.5.5 What's Changed - Fix support for devices by @ndeloof in #8732 - Make command descriptions consistent by @mat007 in #8739 - Restore missing version commands by @Shikachuu in #8738 - Add step in README to install on linux by @Yopadd in #8755 - log --follow must stop when container get killed by @ndeloof in #8726 - Fix index out of range on compose.buildContainerMountOptions by @ulyssessouza in #8750 - Pass runtime option to containerCreate by @ndeloof in #8783 - Fix compose down --timeout/-t flag by @debdutdeb in #8788 - Fix network_mode "service:x" by @ulyssessouza in #8792 - Make service>build>dockerfile a simple filename by @ulyssessouza in #8779 - Compose exec cannot process more than 32KB of data by @resios in #8815 - Actually fix Compose exec cannot process more than 32KB of data by @resios in #8816 - Fix project settings' options order by @ulyssessouza in #8819 - Update link to Docker Community Slack by @mat007 in #8824 - Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848 - COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847 - Add support for EnableIPv6 by @ndeloof in #8851 - Avoid test flakyness by ordering volumes before checking by @ulyssessouza in #8858 - Update README.md: typographical edit of "About update..." by @youssefeldakar in #8838 - Add support for classic builder by @ulyssessouza in #8818 - Fix typo: netwok -> network by @Mygao in #8789 - Bump compose-go to v1.0.5 by @ulyssessouza in #8870 Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-04 19:27:47 +01:00
DEPENDS:=$(GO_ARCH_DEPENDS) +docker
endef
define Package/docker-compose/description
Multi-container orchestration for Docker
endef
docker-compose: Update to version 2.1.0 Docker Compose V2 is a major version bump release of Docker Compose. It has been completely rewritten from scratch in Golang (V1 was in Python). Features: - Added support for running the plugin as a standalone program. Like docker-compose v1 would behave compute sha256 checksums while releasing Bugfixes: - Allow combination of --status and --services - Fix build cache_from option - Fix compose up on README.md - Make --status a multi-flag - No longer fail when inferred .env is a directory Misc - Stop ticker after use on ttyWriter - Use uname -m for cross platform suffixes - Add note about installing it system-wide - Bump containerd 1.5.5 What's Changed - Fix support for devices by @ndeloof in #8732 - Make command descriptions consistent by @mat007 in #8739 - Restore missing version commands by @Shikachuu in #8738 - Add step in README to install on linux by @Yopadd in #8755 - log --follow must stop when container get killed by @ndeloof in #8726 - Fix index out of range on compose.buildContainerMountOptions by @ulyssessouza in #8750 - Pass runtime option to containerCreate by @ndeloof in #8783 - Fix compose down --timeout/-t flag by @debdutdeb in #8788 - Fix network_mode "service:x" by @ulyssessouza in #8792 - Make service>build>dockerfile a simple filename by @ulyssessouza in #8779 - Compose exec cannot process more than 32KB of data by @resios in #8815 - Actually fix Compose exec cannot process more than 32KB of data by @resios in #8816 - Fix project settings' options order by @ulyssessouza in #8819 - Update link to Docker Community Slack by @mat007 in #8824 - Add support for DOCKER_DEFAULT_PLATFORM by @ndeloof in #8848 - COMPOSE_COMPATIBILITY can be set by .env file by @ndeloof in #8847 - Add support for EnableIPv6 by @ndeloof in #8851 - Avoid test flakyness by ordering volumes before checking by @ulyssessouza in #8858 - Update README.md: typographical edit of "About update..." by @youssefeldakar in #8838 - Add support for classic builder by @ulyssessouza in #8818 - Fix typo: netwok -> network by @Mygao in #8789 - Bump compose-go to v1.0.5 by @ulyssessouza in #8870 Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-04 19:27:47 +01:00
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))