summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2023-05-03 12:13:31 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-05-03 12:17:06 -0400
commit3f692e3fe113b72852e0636fe58872830612c641 (patch)
treea7e94dd1b0fd4f71eff356c52e98ba8b4ed2f0e9
parent56494933803b4347a37ea5e264e9c088ef4a676e (diff)
downloadmeta-virtualization-3f692e3fe113b72852e0636fe58872830612c641.tar.gz
docker: start depreciation of docker-ce
docker-ce and docker-moby are now exactly the same. To allow layers which bbappend or otherwise consume docker-ce, we merge the two recipes and leave a warning in docker-ce that it will be removed in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/docker/docker-ce_git.bb67
-rw-r--r--recipes-containers/docker/docker-moby_git.bb18
2 files changed, 22 insertions, 63 deletions
diff --git a/recipes-containers/docker/docker-ce_git.bb b/recipes-containers/docker/docker-ce_git.bb
index 6781c778..a3ea9ab5 100644
--- a/recipes-containers/docker/docker-ce_git.bb
+++ b/recipes-containers/docker/docker-ce_git.bb
@@ -1,59 +1,8 @@
1HOMEPAGE = "http://www.docker.com" 1# docker-ce and docker-moby are now nearly identical. We simply include the
2SUMMARY = "Linux container runtime" 2# moby recipe and warn if this is being built.
3DESCRIPTION = "Linux container runtime \ 3include docker-moby_git.bb
4 Docker complements kernel namespacing with a high-level API which \ 4
5 operates at the process level. It runs unix processes with strong \ 5do_compile:prepend() {
6 guarantees of isolation and repeatability across servers. \ 6 bbwarn "${PN} is now the same as docker-moby. This recipe will be removed in future releases."
7 . \ 7 bbwarn "Consumers of docker should migrate to moby as soon as possible"
8 Docker is a great building block for automating distributed systems: \ 8}
9 large-scale web deployments, database clusters, continuous deployment \
10 systems, private PaaS, service-oriented architectures, etc. \
11 . \
12 This package contains the daemon and client, which are \
13 officially supported on x86_64 and arm hosts. \
14 Other architectures are considered experimental. \
15 . \
16 Also, note that kernel version 3.10 or above is required for proper \
17 operation of the daemon process, and that any lower versions may have \
18 subtle and/or glaring issues. \
19 "
20
21#
22# https://github.com/docker/docker-ce-packaging.git
23# common.mk:
24# DOCKER_CLI_REPO ?= https://github.com/docker/cli.git
25# DOCKER_ENGINE_REPO ?= https://github.com/docker/docker.git
26# REF ?= HEAD
27# DOCKER_CLI_REF ?= $(REF)
28# DOCKER_ENGINE_REF ?= $(REF)
29#
30# These follow the tags for our releases in the listed repositories
31# so we get that tag, and make it our SRCREVS:
32#
33
34SRCREV_docker = "219f21bf07502b447095649b5a2764661737f164"
35SRCREV_libnetwork = "25ec449c45d2075c85fb3688ef4c1730be0466e0"
36SRCREV_cli = "569dd73db13099a7c3104d73aa15117b359045bc"
37SRCREV_FORMAT = "docker_libnetwork"
38SRC_URI = "\
39 git://github.com/docker/docker.git;branch=23.0;name=docker;protocol=https \
40 git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
41 git://github.com/docker/cli;branch=23.0;name=cli;destsuffix=git/cli;protocol=https \
42 file://0001-libnetwork-use-GO-instead-of-go.patch \
43 file://docker.init \
44 file://0001-dynbinary-use-go-cross-compiler.patch;patchdir=src/import \
45 file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
46 "
47
48DOCKER_COMMIT = "${SRCREV_docker}"
49
50require docker.inc
51
52# Apache-2.0 for docker
53LICENSE = "Apache-2.0"
54LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
55
56DOCKER_VERSION = "23.0.2-ce"
57PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
58
59CVE_PRODUCT = "docker mobyproject:moby"
diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb
index cd6a7419..0738e2d4 100644
--- a/recipes-containers/docker/docker-moby_git.bb
+++ b/recipes-containers/docker/docker-moby_git.bb
@@ -27,12 +27,22 @@ DESCRIPTION = "Linux container runtime \
27# the curated docker-ce repository. This allows compatibility and 27# the curated docker-ce repository. This allows compatibility and
28# functional equivalence, while allowing new features to be more 28# functional equivalence, while allowing new features to be more
29# easily added. 29# easily added.
30# - This could be called "docker-moby" or just "moby" in the future, but
31# that would require the creation of a virtual/docker dependency, which
32# is possible, but overkill at the moment (while we wait for the upstream
33# to stop changing).
34# - The common components of this recipe and docker-ce do need to be moved 30# - The common components of this recipe and docker-ce do need to be moved
35# to a docker.inc recipe 31# to a docker.inc recipe
32#
33# Packaging details:
34#
35# https://github.com/docker/docker-ce-packaging.git
36# common.mk:
37# DOCKER_CLI_REPO ?= https://github.com/docker/cli.git
38# DOCKER_ENGINE_REPO ?= https://github.com/docker/docker.git
39# REF ?= HEAD
40# DOCKER_CLI_REF ?= $(REF)
41# DOCKER_ENGINE_REF ?= $(REF)
42#
43# These follow the tags for our releases in the listed repositories
44# so we get that tag, and make it our SRCREVS:
45#
36 46
37SRCREV_moby = "219f21bf07502b447095649b5a2764661737f164" 47SRCREV_moby = "219f21bf07502b447095649b5a2764661737f164"
38SRCREV_libnetwork = "25ec449c45d2075c85fb3688ef4c1730be0466e0" 48SRCREV_libnetwork = "25ec449c45d2075c85fb3688ef4c1730be0466e0"