package: add docker-compose
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 9 Mar 2018 19:17:01 +0000 (20:17 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 10 Mar 2018 07:39:32 +0000 (08:39 +0100)
Python based multi-container orchestration for Docker.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/docker-compose/Config.in [new file with mode: 0644]
package/docker-compose/docker-compose.hash [new file with mode: 0644]
package/docker-compose/docker-compose.mk [new file with mode: 0644]

index d0c3894ecc9da683cb80672e196c2abf47b8b89d..a2bfdabb88c1860fb3a323ee7b706ab662c43bb3 100644 (file)
@@ -1374,6 +1374,7 @@ F:        package/libunistring/
 N:     Peter Korsgaard <peter@korsgaard.com>
 F:     board/orangepi/
 F:     configs/orangepi_pc_defconfig
+F:     package/docker-compose/
 F:     package/dump1090/
 F:     package/flickcurl/
 F:     package/fscryptctl/
index 6fd61a0dea101ac1b5dcfdd67bb436b79a3aa67a..37465c7f5b57b0e4e181f9d25e1ea2ed28a21817 100644 (file)
@@ -1959,6 +1959,7 @@ menu "System tools"
        source "package/dcron/Config.in"
        source "package/ddrescue/Config.in"
        source "package/debianutils/Config.in"
+       source "package/docker-compose/Config.in"
        source "package/docker-containerd/Config.in"
        source "package/docker-engine/Config.in"
        source "package/dsp-tools/Config.in"
diff --git a/package/docker-compose/Config.in b/package/docker-compose/Config.in
new file mode 100644 (file)
index 0000000..393b5f1
--- /dev/null
@@ -0,0 +1,29 @@
+config BR2_PACKAGE_DOCKER_COMPOSE
+       bool "docker-compose"
+       depends on BR2_USE_MMU # python
+       depends on BR2_USE_WCHAR # python
+       depends on BR2_TOOLCHAIN_HAS_THREADS # python
+       depends on !BR2_STATIC_LIBS # python
+       select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
+       select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME \
+              if BR2_PACKAGE_PYTHON # runtime
+       select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
+       select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime
+       select BR2_PACKAGE_PYTHON_CACHED_PROPERTY # runtime
+       select BR2_PACKAGE_PYTHON_DOCOPT # runtime
+       select BR2_PACKAGE_PYTHON_PYYAML # runtime
+       select BR2_PACKAGE_PYTHON_REQUESTS # runtime
+       select BR2_PACKAGE_PYTHON_TEXTTABLE # runtime
+       select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime
+       select BR2_PACKAGE_PYTHON_DOCKER # runtime
+       select BR2_PACKAGE_PYTHON_DOCKERPTY # runtime
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime
+       help
+         Multi-container orchestration for Docker.
+
+         https://www.docker.com/
+
+comment "docker-compose needs a toolchain w/ wchar, threads, dynamic library"
+       depends on BR2_USE_MMU
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
diff --git a/package/docker-compose/docker-compose.hash b/package/docker-compose/docker-compose.hash
new file mode 100644 (file)
index 0000000..df4d915
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/docker-compose/json, sha256 locally computed
+md5    bd703d931f159b08ed5fe4fadcb12652  docker-compose-1.20.0rc1.tar.gz
+sha256 ad14f8dda3eb5c999f6195bf88420dafd1aada80535dab3afd3350fe8438e0a3  docker-compose-1.20.0rc1.tar.gz
+sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243  LICENSE
diff --git a/package/docker-compose/docker-compose.mk b/package/docker-compose/docker-compose.mk
new file mode 100644 (file)
index 0000000..155c529
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# docker-compose
+#
+################################################################################
+
+DOCKER_COMPOSE_VERSION = 1.20.0rc1
+DOCKER_COMPOSE_SITE = https://pypi.python.org/packages/ca/d9/21266285a3c34e8e023f2504c13ffb48e6acd1e43ccdd0c55188d7039505
+DOCKER_COMPOSE_SETUP_TYPE = setuptools
+DOCKER_COMPOSE_LICENSE = Apache-2.0
+DOCKER_COMPOSE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))