From e11e50557e0a24e5fe479ebafbcdaa14115b19e4 Mon Sep 17 00:00:00 2001 From: xumia <59720581+xumia@users.noreply.github.com> Date: Tue, 12 Apr 2022 10:52:44 +0800 Subject: [PATCH 1/2] Upgrade pip3 package docker to 5.0.3 (#10523) Why I did it In sonic-utilities repo, it is required to install docker>=4.4.4 https://github.com/Azure/sonic-utilities/blob/f70dc27827a88d70e91e15ecdcde2ebbc446116d/setup.py#L187 --- build_debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_debian.sh b/build_debian.sh index aef2f7b55df..c5e26a7c0c9 100755 --- a/build_debian.sh +++ b/build_debian.sh @@ -435,7 +435,7 @@ sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'setup sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'wheel==0.35.1' # docker Python API package is needed by Ansible docker module as well as some SONiC applications -sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'docker==4.3.1' +sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'docker==5.0.3' # Install scapy sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip3 install 'scapy==2.4.4' From 976a67f16d62ea4c737e77d467e87bcd701438c1 Mon Sep 17 00:00:00 2001 From: xumia Date: Sun, 24 Apr 2022 01:16:39 +0000 Subject: [PATCH 2/2] Update the docker version to 5.0.3 --- files/build/versions/host-image/versions-py3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/build/versions/host-image/versions-py3 b/files/build/versions/host-image/versions-py3 index ff7d0db29a3..799cf141641 100644 --- a/files/build/versions/host-image/versions-py3 +++ b/files/build/versions/host-image/versions-py3 @@ -11,7 +11,7 @@ click-log==0.4.0 colorful==0.5.4 cryptography==36.0.2 dbus-python==1.2.18 -docker==4.3.1 +docker==5.0.3 docker-image-py==0.1.12 enlighten==1.10.2 filelock==3.6.0 @@ -58,4 +58,4 @@ watchdog==0.10.3 wcwidth==0.2.5 websocket-client==1.3.2 www-authenticate==0.9.2 -xmltodict==0.12.0 \ No newline at end of file +xmltodict==0.12.0