public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker/
Date: Mon,  8 Mar 2021 20:47:54 +0000 (UTC)	[thread overview]
Message-ID: <1615236466.e8a44e967cc1805daaaa87b3f0c4c8ab433f261e.williamh@gentoo> (raw)

commit:     e8a44e967cc1805daaaa87b3f0c4c8ab433f261e
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  8 20:28:37 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Mar  8 20:47:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8a44e96

app-emulation/docker: adjust dependencies for 20.10.x per upstream

- drop the dependency on runc since this is pulled in by containerd
- set a lower limit for the dependency oncontainerd but do not pin it to
  a specific version.
  For more information, see the below upstream issue.

https://github.com/moby/moby/issues/42117
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 ...ker-20.10.4.ebuild => docker-20.10.3-r2.ebuild} | 25 +++++++++++++++++++---
 app-emulation/docker/docker-20.10.4.ebuild         |  5 ++---
 app-emulation/docker/docker-20.10.5.ebuild         |  5 ++---
 3 files changed, 26 insertions(+), 9 deletions(-)

diff --git a/app-emulation/docker/docker-20.10.4.ebuild b/app-emulation/docker/docker-20.10.3-r2.ebuild
similarity index 93%
copy from app-emulation/docker/docker-20.10.4.ebuild
copy to app-emulation/docker/docker-20.10.3-r2.ebuild
index bba2fa9a7eb..3d9e91ee00e 100644
--- a/app-emulation/docker/docker-20.10.4.ebuild
+++ b/app-emulation/docker/docker-20.10.3-r2.ebuild
@@ -28,7 +28,7 @@ DEPEND="
 # https://github.com/moby/moby/blob/master/project/PACKAGERS.md#runtime-dependencies
 # https://github.com/moby/moby/blob/master/project/PACKAGERS.md#optional-dependencies
 # https://github.com/moby/moby/tree/master//hack/dockerfile/install
-# make sure containerd, docker-proxy, runc and tini pinned to exact versions from ^,
+# make sure containerd, docker-proxy and tini pinned to exact versions from ^,
 # for appropriate branchch/version of course
 RDEPEND="
 	${DEPEND}
@@ -38,7 +38,6 @@ RDEPEND="
 	>=app-arch/xz-utils-4.9
 	dev-libs/libltdl
 	~app-emulation/containerd-1.4.3[apparmor?,btrfs?,device-mapper?,seccomp?]
-	~app-emulation/runc-1.0.0_rc93[apparmor?,seccomp?]
 	~app-emulation/docker-proxy-0.8.0_p20201215
 	cli? ( app-emulation/docker-cli )
 	container-init? ( >=sys-process/tini-0.19.0[static] )
@@ -59,7 +58,6 @@ S="${WORKDIR}/${P}/src/${EGO_PN}"
 CONFIG_CHECK="
 	~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
 	~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
-	~CGROUP_NET_PRIO
 	~KEYS
 	~VETH ~BRIDGE ~BRIDGE_NETFILTER
 	~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE ~NETFILTER_XT_MARK
@@ -101,6 +99,27 @@ ERROR_XFRM_ALGO="CONFIG_XFRM_ALGO: is optional for secure networks"
 ERROR_XFRM_USER="CONFIG_XFRM_USER: is optional for secure networks"
 
 pkg_setup() {
+	if kernel_is lt 3 10; then
+		ewarn ""
+		ewarn "Using Docker with kernels older than 3.10 is unstable and unsupported."
+		ewarn " - http://docs.docker.com/engine/installation/binaries/#check-kernel-dependencies"
+	fi
+
+	if kernel_is le 3 18; then
+		CONFIG_CHECK+="
+			~RESOURCE_COUNTERS
+		"
+	fi
+
+	if kernel_is le 3 13; then
+		CONFIG_CHECK+="
+			~NETPRIO_CGROUP
+		"
+	else
+		CONFIG_CHECK+="
+			~CGROUP_NET_PRIO
+		"
+	fi
 
 	if kernel_is lt 4 5; then
 		CONFIG_CHECK+="

diff --git a/app-emulation/docker/docker-20.10.4.ebuild b/app-emulation/docker/docker-20.10.4.ebuild
index bba2fa9a7eb..ee31e108512 100644
--- a/app-emulation/docker/docker-20.10.4.ebuild
+++ b/app-emulation/docker/docker-20.10.4.ebuild
@@ -28,7 +28,7 @@ DEPEND="
 # https://github.com/moby/moby/blob/master/project/PACKAGERS.md#runtime-dependencies
 # https://github.com/moby/moby/blob/master/project/PACKAGERS.md#optional-dependencies
 # https://github.com/moby/moby/tree/master//hack/dockerfile/install
-# make sure containerd, docker-proxy, runc and tini pinned to exact versions from ^,
+# make sure docker-proxy is pinned to exact version from ^,
 # for appropriate branchch/version of course
 RDEPEND="
 	${DEPEND}
@@ -37,8 +37,7 @@ RDEPEND="
 	>=dev-vcs/git-1.7
 	>=app-arch/xz-utils-4.9
 	dev-libs/libltdl
-	~app-emulation/containerd-1.4.3[apparmor?,btrfs?,device-mapper?,seccomp?]
-	~app-emulation/runc-1.0.0_rc93[apparmor?,seccomp?]
+	>=app-emulation/containerd-1.4.1[apparmor?,btrfs?,device-mapper?,seccomp?]
 	~app-emulation/docker-proxy-0.8.0_p20201215
 	cli? ( app-emulation/docker-cli )
 	container-init? ( >=sys-process/tini-0.19.0[static] )

diff --git a/app-emulation/docker/docker-20.10.5.ebuild b/app-emulation/docker/docker-20.10.5.ebuild
index 2c037df1422..b444365e4a9 100644
--- a/app-emulation/docker/docker-20.10.5.ebuild
+++ b/app-emulation/docker/docker-20.10.5.ebuild
@@ -28,7 +28,7 @@ DEPEND="
 # https://github.com/moby/moby/blob/master/project/PACKAGERS.md#runtime-dependencies
 # https://github.com/moby/moby/blob/master/project/PACKAGERS.md#optional-dependencies
 # https://github.com/moby/moby/tree/master//hack/dockerfile/install
-# make sure containerd, docker-proxy, runc and tini pinned to exact versions from ^,
+# make sure docker-proxy is pinned to exact version from ^,
 # for appropriate branchch/version of course
 RDEPEND="
 	${DEPEND}
@@ -37,8 +37,7 @@ RDEPEND="
 	>=dev-vcs/git-1.7
 	>=app-arch/xz-utils-4.9
 	dev-libs/libltdl
-	~app-emulation/containerd-1.4.3[apparmor?,btrfs?,device-mapper?,seccomp?]
-	~app-emulation/runc-1.0.0_rc93[apparmor?,seccomp?]
+	>=app-emulation/containerd-1.4.1[apparmor?,btrfs?,device-mapper?,seccomp?]
 	~app-emulation/docker-proxy-0.8.0_p20201215
 	cli? ( app-emulation/docker-cli )
 	container-init? ( >=sys-process/tini-0.19.0[static] )


             reply	other threads:[~2021-03-08 20:47 UTC|newest]

Thread overview: 291+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-08 20:47 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-19  7:19 [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker/ Georgy Yakovlev
2021-12-19  7:19 Georgy Yakovlev
2021-12-14  8:55 Georgy Yakovlev
2021-12-01 12:39 Georgy Yakovlev
2021-11-03 21:08 Georgy Yakovlev
2021-11-03 21:08 Georgy Yakovlev
2021-10-06 16:49 William Hubbs
2021-10-06  1:19 Georgy Yakovlev
2021-10-06  1:19 Georgy Yakovlev
2021-10-06  1:16 William Hubbs
2021-10-04 23:21 William Hubbs
2021-08-13  2:09 Yixun Lan
2021-08-05 19:51 William Hubbs
2021-06-14  0:31 Georgy Yakovlev
2021-06-13 22:38 Sam James
2021-06-11 16:27 William Hubbs
2021-06-11  1:00 Georgy Yakovlev
2021-06-11  1:00 Georgy Yakovlev
2021-06-10 21:53 William Hubbs
2021-05-16 12:45 Sam James
2021-04-28 16:44 Mikle Kolyada
2021-04-26 21:25 Georgy Yakovlev
2021-04-22  7:48 Georgy Yakovlev
2021-04-19 15:53 William Hubbs
2021-04-05 15:34 Mike Gilbert
2021-03-31 19:41 William Hubbs
2021-03-25  8:02 Michał Górny
2021-03-08 21:26 William Hubbs
2021-03-08 21:19 William Hubbs
2021-03-07 23:17 William Hubbs
2021-03-07  8:18 William Hubbs
2021-03-06 20:13 William Hubbs
2021-03-06 20:13 William Hubbs
2021-02-19 18:04 Piotr Karbowski
2021-02-15  1:16 William Hubbs
2021-02-05 19:36 Georgy Yakovlev
2021-02-05 19:36 Georgy Yakovlev
2021-02-04 19:15 William Hubbs
2021-02-04 15:06 William Hubbs
2021-02-04 15:06 William Hubbs
2021-01-09 20:57 William Hubbs
2021-01-08 19:28 William Hubbs
2021-01-08 19:28 William Hubbs
2021-01-08 18:14 William Hubbs
2021-01-08 17:54 William Hubbs
2021-01-05 15:58 William Hubbs
2021-01-05  0:15 William Hubbs
2021-01-04 23:10 William Hubbs
2020-12-29  7:43 Joonas Niilola
2020-12-02 20:38 Georgy Yakovlev
2020-12-02 20:38 Georgy Yakovlev
2020-12-02 20:38 Georgy Yakovlev
2020-12-02 19:56 Georgy Yakovlev
2020-11-10 21:20 Georgy Yakovlev
2020-11-10 21:20 Georgy Yakovlev
2020-10-27 23:19 Georgy Yakovlev
2020-10-18  0:48 Georgy Yakovlev
2020-10-18  0:48 Georgy Yakovlev
2020-10-18  0:48 Georgy Yakovlev
2020-09-24  0:09 Georgy Yakovlev
2020-09-23  8:36 Georgy Yakovlev
2020-09-23  8:36 Georgy Yakovlev
2020-09-23  8:36 Georgy Yakovlev
2020-09-23  7:43 Georgy Yakovlev
2020-09-23  0:46 Georgy Yakovlev
2020-09-22 23:30 Georgy Yakovlev
2020-09-22 23:18 Georgy Yakovlev
2020-08-31 21:03 Thomas Deutschmann
2020-08-31 18:14 Georgy Yakovlev
2020-08-22 21:17 William Hubbs
2020-08-01 19:17 William Hubbs
2020-07-25 18:30 Georgy Yakovlev
2020-03-15  3:53 Thomas Deutschmann
2020-03-15  3:06 William Hubbs
2020-03-12  0:34 William Hubbs
2020-03-04 22:52 William Hubbs
2020-03-04 22:52 William Hubbs
2020-03-04 13:01 Mikle Kolyada
2020-02-14  0:31 William Hubbs
2020-02-13 21:02 Georgy Yakovlev
2020-02-13 20:47 William Hubbs
2020-01-25 15:33 Mikle Kolyada
2020-01-17  8:52 Georgy Yakovlev
2020-01-16 19:36 Mikle Kolyada
2020-01-16  9:18 Mikle Kolyada
2020-01-16  9:12 Mikle Kolyada
2020-01-15 10:41 Mikle Kolyada
2019-11-21 10:40 Manuel Rüger
2019-11-20 22:20 Manuel Rüger
2019-11-20 16:51 Manuel Rüger
2019-10-21 18:19 Manuel Rüger
2019-10-09 16:57 Manuel Rüger
2019-09-23 14:06 Manuel Rüger
2019-09-23 14:06 Manuel Rüger
2019-09-05  9:08 Manuel Rüger
2019-09-04 13:50 Manuel Rüger
2019-07-29  9:17 Manuel Rüger
2019-07-29  9:17 Manuel Rüger
2019-07-29  9:07 Manuel Rüger
2019-07-29  9:07 Manuel Rüger
2019-07-23 15:17 Manuel Rüger
2019-07-04 15:34 Manuel Rüger
2019-07-04 15:34 Manuel Rüger
2019-06-27 21:57 Manuel Rüger
2019-06-25 15:43 Manuel Rüger
2019-06-06 17:10 Manuel Rüger
2019-06-04 16:57 Manuel Rüger
2019-05-07 16:05 Manuel Rüger
2019-04-23 14:07 Manuel Rüger
2019-04-23 12:43 Manuel Rüger
2019-04-11 10:01 Manuel Rüger
2019-04-11  9:57 Manuel Rüger
2019-03-28 15:02 Manuel Rüger
2019-03-28 15:02 Manuel Rüger
2019-03-28 15:02 Manuel Rüger
2019-03-01 13:42 Manuel Rüger
2019-03-01 13:42 Manuel Rüger
2019-02-11 19:39 Manuel Rüger
2019-02-11 19:39 Manuel Rüger
2019-02-11 19:39 Manuel Rüger
2019-02-11 17:55 Manuel Rüger
2019-02-11 17:49 Manuel Rüger
2019-02-01 16:02 Manuel Rüger
2019-01-10 13:34 Manuel Rüger
2018-12-16 13:10 Manuel Rüger
2018-12-11 10:13 Manuel Rüger
2018-11-09 10:28 Manuel Rüger
2018-11-09  8:48 Manuel Rüger
2018-10-28 17:30 Manuel Rüger
2018-09-06 18:16 Manuel Rüger
2018-07-19 15:29 Manuel Rüger
2018-07-19 13:29 Manuel Rüger
2018-07-19 13:29 Manuel Rüger
2018-06-21 22:28 Georgy Yakovlev
2018-06-21 22:28 Georgy Yakovlev
2018-06-04 19:25 Mart Raudsepp
2018-05-15 13:14 Manuel Rüger
2018-05-15 13:14 Manuel Rüger
2018-05-15 12:16 Manuel Rüger
2018-04-26 22:19 Manuel Rüger
2018-04-26 21:36 Manuel Rüger
2018-04-11 12:21 Manuel Rüger
2018-04-10  1:13 Manuel Rüger
2018-04-06 22:12 Manuel Rüger
2018-04-06 22:12 Manuel Rüger
2018-04-03  6:22 Manuel Rüger
2018-03-23 15:05 Manuel Rüger
2018-03-21 14:59 Manuel Rüger
2018-03-19 22:52 Manuel Rüger
2018-02-28 12:32 Manuel Rüger
2018-02-27 20:33 Manuel Rüger
2018-02-09 16:58 Manuel Rüger
2018-01-23 15:46 Manuel Rüger
2018-01-19 16:10 Manuel Rüger
2018-01-19 15:55 Manuel Rüger
2018-01-18 14:04 Manuel Rüger
2018-01-18 13:00 Manuel Rüger
2018-01-10 18:37 Manuel Rüger
2018-01-02 16:12 Manuel Rüger
2018-01-02 13:05 Manuel Rüger
2018-01-02 13:05 Manuel Rüger
2018-01-02 13:00 Manuel Rüger
2017-12-18 19:11 Manuel Rüger
2017-12-18 16:37 Manuel Rüger
2017-11-22 15:02 Manuel Rüger
2017-11-03 14:27 Manuel Rüger
2017-11-02 15:57 Craig Andrews
2017-09-27 10:01 Manuel Rüger
2017-09-10 10:58 Manuel Rüger
2017-09-10 10:58 Manuel Rüger
2017-09-08 21:59 Manuel Rüger
2017-09-08 21:59 Manuel Rüger
2017-08-21 11:30 Manuel Rüger
2017-07-16 11:48 Manuel Rüger
2017-07-16 10:46 Manuel Rüger
2017-07-02 23:08 Manuel Rüger
2017-06-29  9:42 Manuel Rüger
2017-06-29  9:37 Manuel Rüger
2017-06-29  9:37 Manuel Rüger
2017-06-28 14:12 Manuel Rüger
2017-06-28 14:02 Manuel Rüger
2017-06-20 12:53 Pacho Ramos
2017-05-09 11:49 Manuel Rüger
2017-05-07  0:34 Manuel Rüger
2017-05-03 11:37 Manuel Rüger
2017-05-03 11:37 Manuel Rüger
2017-04-28 12:15 Manuel Rüger
2017-04-21 19:01 William Hubbs
2017-04-21 17:52 William Hubbs
2017-04-21 15:24 Manuel Rüger
2017-04-20 19:00 William Hubbs
2017-04-19 21:48 William Hubbs
2017-04-18 17:58 William Hubbs
2017-04-06 22:04 Manuel Rüger
2017-04-05 10:21 Michael Weber
2017-03-28 23:28 Manuel Rüger
2017-03-06 16:31 Manuel Rüger
2017-03-06 16:28 Manuel Rüger
2017-03-06 15:12 Manuel Rüger
2017-03-06 13:22 Manuel Rüger
2017-02-24 10:29 Manuel Rüger
2017-02-24 10:29 Manuel Rüger
2017-02-09 14:16 Manuel Rüger
2017-01-23 14:02 William Hubbs
2017-01-19 11:22 Manuel Rüger
2017-01-16 17:36 Manuel Rüger
2017-01-15 20:09 Manuel Rüger
2017-01-13 13:43 Manuel Rüger
2017-01-12 13:14 Manuel Rüger
2017-01-11 12:14 Manuel Rüger
2017-01-11 12:13 Manuel Rüger
2017-01-09 18:37 William Hubbs
2017-01-07 22:06 William Hubbs
2017-01-07 22:01 William Hubbs
2017-01-07 21:43 William Hubbs
2017-01-05 23:23 Manuel Rüger
2017-01-02 15:33 William Hubbs
2016-12-18  1:14 Manuel Rüger
2016-12-18  1:14 Manuel Rüger
2016-12-16 11:54 Manuel Rüger
2016-12-13 16:58 Manuel Rüger
2016-12-06 13:45 Manuel Rüger
2016-12-06 12:28 Manuel Rüger
2016-12-06 12:27 Manuel Rüger
2016-11-24 13:18 Manuel Rüger
2016-11-24 10:45 Manuel Rüger
2016-11-18 16:28 Manuel Rüger
2016-11-18 16:28 Manuel Rüger
2016-11-15 11:15 Manuel Rüger
2016-11-14 18:08 William Hubbs
2016-11-14 18:00 William Hubbs
2016-11-14 17:11 William Hubbs
2016-11-09 16:53 Manuel Rüger
2016-11-01 22:22 William Hubbs
2016-10-31 23:04 William Hubbs
2016-10-31 22:55 William Hubbs
2016-10-31 22:55 William Hubbs
2016-10-31 22:23 William Hubbs
2016-10-13 14:46 William Hubbs
2016-10-13 14:46 William Hubbs
2016-09-28 16:39 William Hubbs
2016-09-28 15:53 William Hubbs
2016-08-24 13:32 William Hubbs
2016-08-24 13:32 William Hubbs
2016-08-17 15:34 William Hubbs
2016-07-30  4:05 William Hubbs
2016-07-30  4:05 William Hubbs
2016-07-29 16:27 William Hubbs
2016-07-29 16:27 William Hubbs
2016-07-28 15:47 William Hubbs
2016-07-28 15:41 William Hubbs
2016-07-28 14:14 William Hubbs
2016-07-27 23:11 William Hubbs
2016-07-27 22:17 William Hubbs
2016-07-27 22:12 William Hubbs
2016-07-27 22:12 William Hubbs
2016-07-27 15:41 William Hubbs
2016-07-14 23:46 William Hubbs
2016-07-14 23:46 William Hubbs
2016-07-13 16:14 William Hubbs
2016-07-09 22:43 William Hubbs
2016-07-05 16:41 William Hubbs
2016-07-05 16:41 William Hubbs
2016-06-28 13:49 William Hubbs
2016-06-28 13:15 William Hubbs
2016-06-28 13:07 William Hubbs
2016-06-27 22:49 William Hubbs
2016-06-27 22:49 William Hubbs
2016-06-27 22:33 William Hubbs
2016-06-27 22:33 William Hubbs
2016-06-24 17:53 William Hubbs
2016-06-24 17:39 William Hubbs
2016-04-27 15:24 Kacper Kowalik
2016-04-27 15:19 Kacper Kowalik
2016-04-27 15:13 Kacper Kowalik
2016-04-27 15:13 Kacper Kowalik
2016-04-27  8:24 Agostino Sarubbo
2016-04-20 17:06 William Hubbs
2016-03-29 10:35 Ian Delaney
2016-03-28 12:21 Kacper Kowalik
2016-03-18 19:11 Michał Górny
2016-02-08 13:50 Kacper Kowalik
2015-11-03 21:19 Kacper Kowalik
2015-09-29  8:34 Justin Lecher
2015-09-29  8:34 Justin Lecher
2015-09-28 14:16 Kacper Kowalik
2015-09-19 15:27 Agostino Sarubbo
2015-08-25 18:15 William Hubbs
2015-08-25 18:15 William Hubbs
2015-08-25 16:42 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615236466.e8a44e967cc1805daaaa87b3f0c4c8ab433f261e.williamh@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox