Skip to contentSkip to conversation

docker-ce: update to v19.03.5

PATCH In review Stefan Agner 2 participants 5 messages Jan 9, 2020 – Jan 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docker-ce: update to v19.03.5

From: Stefan Agner <[email protected]>

Bump the git hashes to Docker CE v19.03.5. This requires to get the docker daemon binary from a different location as the symlink from the latest/ subdirectory has been removed. See also commit deaac5d4b3fa ("hack/make.sh remove "latest" symlink") in the docker-ce repository.

---
 recipes-containers/docker/docker-ce_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-ce_git.bb +3 -3
index 817795f..0d088da 100644
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \
  subtle and/or glaring issues. \
  "
 
-SRCREV_docker = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e"
+SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb"
 SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381"
 SRC_URI = "\
 	git://github.com/docker/docker-ce.git;branch=19.03;name=docker \
@@ -38,7 +38,7 @@ GO_IMPORT = "import"
 
 S = "${WORKDIR}/git"
 
-DOCKER_VERSION = "19.03.2-ce"
+DOCKER_VERSION = "19.03.5-ce"
 PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
 
 PACKAGES =+ "${PN}-contrib"
@@ -99,7 +99,7 @@ do_compile() {
 do_install() {
 	mkdir -p ${D}/${bindir}
 	cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker
-	cp ${S}/src/import/components/engine/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
+	cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
 	cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy
 
 	if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
Signature · 1 line
2.17.1
#1 lore raw

Sorry for the delays on this. I'm working through some kernel issues. I do expect to have this merged in the next couple of days (I just want to sync moby, and run some tests first).

Bruce

Quoted 48 lines · Stefan Agner

From: Stefan Agner <[email protected]>

Bump the git hashes to Docker CE v19.03.5. This requires to get the docker daemon binary from a different location as the symlink from the latest/ subdirectory has been removed. See also commit deaac5d4b3fa ("hack/make.sh remove "latest" symlink") in the docker-ce repository.

---
 recipes-containers/docker/docker-ce_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-ce_git.bb +3 -4
index 817795f..0d088da 100644
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \
  subtle and/or glaring issues. \
  "
 
-SRCREV_docker = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e"
+SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb"
 SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381"
 SRC_URI = "\
        git://github.com/docker/docker-ce.git;branch=19.03;name=docker \
@@ -38,7 +38,7 @@ GO_IMPORT = "import"
 
 S = "${WORKDIR}/git"
 
-DOCKER_VERSION = "19.03.2-ce"
+DOCKER_VERSION = "19.03.5-ce"
 PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
 
 PACKAGES =+ "${PN}-contrib"
@@ -99,7 +99,7 @@ do_compile() {
 do_install() {
        mkdir -p ${D}/${bindir}
        cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker
-       cp ${S}/src/import/components/engine/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
+       cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
        cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy
 
        if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
--

2.17.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#2 lore raw

No problem, not really urgent from my side.

I also have some podman updates I am working on, will probably send soon.

--
Stefan

Quoted 55 lines · Bruce Ashfield

Sorry for the delays on this. I'm working through some kernel issues. I do expect to have this merged in the next couple of days (I just want to sync moby, and run some tests first).

Bruce

Quoted 48 lines · Stefan Agner

From: Stefan Agner <[email protected]>

Bump the git hashes to Docker CE v19.03.5. This requires to get the docker daemon binary from a different location as the symlink from the latest/ subdirectory has been removed. See also commit deaac5d4b3fa ("hack/make.sh remove "latest" symlink") in the docker-ce repository.

---
 recipes-containers/docker/docker-ce_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-ce_git.bb +3 -4
index 817795f..0d088da 100644
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \
  subtle and/or glaring issues. \
  "
 
-SRCREV_docker = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e"
+SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb"
 SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381"
 SRC_URI = "\
        git://github.com/docker/docker-ce.git;branch=19.03;name=docker \
@@ -38,7 +38,7 @@ GO_IMPORT = "import"
 
 S = "${WORKDIR}/git"
 
-DOCKER_VERSION = "19.03.2-ce"
+DOCKER_VERSION = "19.03.5-ce"
 PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
 
 PACKAGES =+ "${PN}-contrib"
@@ -99,7 +99,7 @@ do_compile() {
 do_install() {
        mkdir -p ${D}/${bindir}
        cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker
-       cp ${S}/src/import/components/engine/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
+       cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
        cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy
 
        if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
--

2.17.1

#3 lore raw
In reply to Stefan Agner

Similar to the podman patches, I've merged this to master.

But I'm not really seeing a compelling security or serious bug fix that makes it something I'd want to also apply to Zeus.

Again, I'm open to being convinced.

Bruce

Quoted 48 lines · Stefan Agner

From: Stefan Agner <[email protected]>

Bump the git hashes to Docker CE v19.03.5. This requires to get the docker daemon binary from a different location as the symlink from the latest/ subdirectory has been removed. See also commit deaac5d4b3fa ("hack/make.sh remove "latest" symlink") in the docker-ce repository.

---
 recipes-containers/docker/docker-ce_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-ce_git.bb +3 -4
index 817795f..0d088da 100644
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \
  subtle and/or glaring issues. \
  "
 
-SRCREV_docker = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e"
+SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb"
 SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381"
 SRC_URI = "\
        git://github.com/docker/docker-ce.git;branch=19.03;name=docker \
@@ -38,7 +38,7 @@ GO_IMPORT = "import"
 
 S = "${WORKDIR}/git"
 
-DOCKER_VERSION = "19.03.2-ce"
+DOCKER_VERSION = "19.03.5-ce"
 PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
 
 PACKAGES =+ "${PN}-contrib"
@@ -99,7 +99,7 @@ do_compile() {
 do_install() {
        mkdir -p ${D}/${bindir}
        cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker
-       cp ${S}/src/import/components/engine/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
+       cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
        cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy
 
        if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
--

2.17.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#4 lore raw
Quoted 4 lines · Bruce Ashfield

Similar to the podman patches, I've merged this to master.

But I'm not really seeing a compelling security or serious bug fix that makes it something I'd want to also apply to Zeus.

There is a security fix listed in the release notes (CVE-2017-18367), but I think it does not apply since we do not build runc from docker-ce repository, so I agree there is no serious security issue fixed which would warrant the update.

There were two bug fixes which caught my attention:
- Docker 19.03 doesn't support OCI image #39727
- Fix panic on 32-bit ARMv7 caused by misaligned struct member. docker/engine#363

I haven't hit either one of them. But not supporting OCI image standard sounds uncool, and we run an ARMv7 so quite likely we would hit that one sooner or later.

So I probably will go for the update in our distro.

--
Stefan

Quoted 54 lines

Again, I'm open to being convinced.

Bruce

Quoted 48 lines · Stefan Agner

From: Stefan Agner <[email protected]>

Bump the git hashes to Docker CE v19.03.5. This requires to get the docker daemon binary from a different location as the symlink from the latest/ subdirectory has been removed. See also commit deaac5d4b3fa ("hack/make.sh remove "latest" symlink") in the docker-ce repository.

---
 recipes-containers/docker/docker-ce_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-ce_git.bb +3 -4
index 817795f..0d088da 100644
@@ -18,7 +18,7 @@ DESCRIPTION = "Linux container runtime \
  subtle and/or glaring issues. \
  "
 
-SRCREV_docker = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e"
+SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb"
 SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381"
 SRC_URI = "\
        git://github.com/docker/docker-ce.git;branch=19.03;name=docker \
@@ -38,7 +38,7 @@ GO_IMPORT = "import"
 
 S = "${WORKDIR}/git"
 
-DOCKER_VERSION = "19.03.2-ce"
+DOCKER_VERSION = "19.03.5-ce"
 PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
 
 PACKAGES =+ "${PN}-contrib"
@@ -99,7 +99,7 @@ do_compile() {
 do_install() {
        mkdir -p ${D}/${bindir}
        cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker
-       cp ${S}/src/import/components/engine/bundles/latest/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
+       cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd
        cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy
 
        if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
--

2.17.1