summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker/docker-moby_git.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2023-08-14 17:13:56 +0200
committerBruce Ashfield <bruce.ashfield@gmail.com>2023-08-15 18:45:49 +0000
commit36b5b74c892971f0edb7c54a4e19d2fc7c4cc323 (patch)
tree3e971978fbc2b9db24aa308d03ff8229838a532a /recipes-containers/docker/docker-moby_git.bb
parentaf02908efda1580e77b3fdeed25b124a2b8d9482 (diff)
downloadmeta-virtualization-36b5b74c892971f0edb7c54a4e19d2fc7c4cc323.tar.gz
docker: update to v20.10.25 + 58 commits to fix compatibility with go currently in kirkstone
* since this backport: https://lists.openembedded.org/g/openembedded-core/message/185082 landed in kirkstone: https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=5dc74138649ab7a2c0158a43225dc7a8fd732355 docker cannot access network and fails with: "http: invalid Host header" update to latest commit in 20.10 branch, because latest tag v20.10.25 have the fix yet: https://github.com/moby/moby/compare/v20.10.21...v20.10.25 so we need couple more commits from upstream: https://github.com/moby/moby/compare/v20.10.25...791d8ab87747169b4cbfcdf2fd57c81952bae6d5 Adjust the go version revert which was here since the upgrade to v20.10.21: https://git.yoctoproject.org/meta-virtualization/commit/?h=kirkstone&id=927537108bcf2b98859512ce3eae59a73439994d and add another revert for the go upgrades from upstream for this older patch to apply. * update cli to latest in 20.10 branch as well: https://github.com/docker/cli/compare/baeda1f82a10204ec5708d5fbba130ad76cfee49..911449ca245308472a3d34a7f1a98b918e65c8c3 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/docker/docker-moby_git.bb')
-rw-r--r--recipes-containers/docker/docker-moby_git.bb29
1 files changed, 17 insertions, 12 deletions
diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb
index b0482082..5f8de075 100644
--- a/recipes-containers/docker/docker-moby_git.bb
+++ b/recipes-containers/docker/docker-moby_git.bb
@@ -34,20 +34,22 @@ DESCRIPTION = "Linux container runtime \
34# - The common components of this recipe and docker-ce do need to be moved 34# - The common components of this recipe and docker-ce do need to be moved
35# to a docker.inc recipe 35# to a docker.inc recipe
36 36
37SRCREV_moby = "3056208812eb5e792fa99736c9167d1e10f4ab49" 37SRCREV_moby = "791d8ab87747169b4cbfcdf2fd57c81952bae6d5"
38SRCREV_libnetwork = "dcdf8f176d1e13ad719e913e796fb698d846de98" 38SRCREV_libnetwork = "dcdf8f176d1e13ad719e913e796fb698d846de98"
39SRCREV_cli = "baeda1f82a10204ec5708d5fbba130ad76cfee49" 39SRCREV_cli = "911449ca245308472a3d34a7f1a98b918e65c8c3"
40SRCREV_FORMAT = "moby_libnetwork" 40SRCREV_FORMAT = "moby_libnetwork"
41SRC_URI = "\ 41SRC_URI = "\
42 git://github.com/moby/moby.git;branch=20.10;name=moby;protocol=https \ 42 git://github.com/moby/moby.git;branch=20.10;name=moby;protocol=https \
43 git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \ 43 git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
44 git://github.com/docker/cli;branch=20.10;name=cli;destsuffix=git/cli;protocol=https \ 44 git://github.com/docker/cli;branch=20.10;name=cli;destsuffix=git/cli;protocol=https \
45 file://docker.init \ 45 file://docker.init \
46 file://0001-libnetwork-use-GO-instead-of-go.patch \ 46 file://0001-libnetwork-use-GO-instead-of-go.patch \
47 file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \ 47 file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
48 file://0001-dynbinary-use-go-cross-compiler.patch \ 48 file://0001-dynbinary-use-go-cross-compiler.patch \
49 file://0001-revert-go-1.8-update.patch;patchdir=src/import \ 49 file://0001-Revert-go-updates-from-1.19.12-to-1.18.7.patch;patchdir=src/import \
50 " 50 file://0002-Revert-go-updates-from-1.18.7-to-1.17.13.patch;patchdir=src/import \
51 file://0003-builder.go-avoid-using-strings.Cut-from-go-1.18.patch;patchdir=src/import \
52"
51 53
52DOCKER_COMMIT = "${SRCREV_moby}" 54DOCKER_COMMIT = "${SRCREV_moby}"
53 55
@@ -57,7 +59,10 @@ require docker.inc
57LICENSE = "Apache-2.0" 59LICENSE = "Apache-2.0"
58LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28" 60LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
59 61
60DOCKER_VERSION = "20.10.21" 62# 58 commits after v20.10.25 to include the fixes for go compatibility after
63# https://lists.openembedded.org/g/openembedded-core/message/185082
64# https://github.com/moby/moby/compare/v20.10.25...791d8ab87747169b4cbfcdf2fd57c81952bae6d5
65DOCKER_VERSION = "20.10.25"
61PV = "${DOCKER_VERSION}+git${SRCREV_moby}" 66PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
62 67
63CVE_PRODUCT = "docker mobyproject:moby" 68CVE_PRODUCT = "docker mobyproject:moby"