meta-virtualization/recipes-containers/docker/docker-moby_git.bb
Bruce Ashfield d3acb1a378 docker/moby: use generic DOCKER_COMMIT in do_compile
do_compile() is shared and shouldn't have been using SRCREV_moby
as that is obviously only set in the moby recipe.

Switch to using a generic DOCKER_COMMIT variable and set it in
both docker_moby and docker-ce.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-12-07 16:40:04 -05:00

63 lines
2.6 KiB
BlitzBasic

HOMEPAGE = "http://www.docker.com"
SUMMARY = "Linux container runtime"
DESCRIPTION = "Linux container runtime \
Docker complements kernel namespacing with a high-level API which \
operates at the process level. It runs unix processes with strong \
guarantees of isolation and repeatability across servers. \
. \
Docker is a great building block for automating distributed systems: \
large-scale web deployments, database clusters, continuous deployment \
systems, private PaaS, service-oriented architectures, etc. \
. \
This package contains the daemon and client, which are \
officially supported on x86_64 and arm hosts. \
Other architectures are considered experimental. \
. \
Also, note that kernel version 3.10 or above is required for proper \
operation of the daemon process, and that any lower versions may have \
subtle and/or glaring issues. \
"
# Notes:
# - This docker variant uses moby and the other individually maintained
# upstream variants for SRCREVs
# - It is a true community / upstream tracking build, and is not a
# docker curated set of commits or additions
# - The version number on this package tracks the versions assigned to
# the curated docker-ce repository. This allows compatibility and
# functional equivalence, while allowing new features to be more
# easily added.
# - This could be called "docker-moby" or just "moby" in the future, but
# that would require the creation of a virtual/docker dependency, which
# is possible, but overkill at the moment (while we wait for the upstream
# to stop changing).
# - The common components of this recipe and docker-ce do need to be moved
# to a docker.inc recipe
SRCREV_moby = "4ed81ac0e2504489839226ce42abc614cc4d4860"
SRCREV_libnetwork = "dcdf8f176d1e13ad719e913e796fb698d846de98"
SRCREV_cli = "baeda1f82a10204ec5708d5fbba130ad76cfee49"
SRCREV_FORMAT = "moby_libnetwork"
SRC_URI = "\
git://github.com/moby/moby.git;branch=20.10;name=moby;protocol=https \
git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
git://github.com/docker/cli;branch=20.10;name=cli;destsuffix=git/cli;protocol=https \
file://docker.init \
file://0001-libnetwork-use-GO-instead-of-go.patch \
file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
file://0001-dynbinary-use-go-cross-compiler.patch \
"
DOCKER_COMMIT = "${SRCREV_moby}"
require docker.inc
# Apache-2.0 for docker
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
DOCKER_VERSION = "20.10.21"
PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
CVE_PRODUCT = "docker mobyproject:moby"