[ARVADOS] updated: 2.1.0-2087-g1abf9e9b8
Git user
git at public.arvados.org
Thu Mar 17 14:13:51 UTC 2022
Summary of changes:
tools/compute-images/scripts/base.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via 1abf9e9b8f116f01788e17051cd1c7bebc082328 (commit)
from 0059c1f8145f14432c464929c67f0cc2bee89e10 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 1abf9e9b8f116f01788e17051cd1c7bebc082328
Author: Ward Vandewege <ward at curii.com>
Date: Thu Mar 17 10:12:23 2022 -0400
18867: parameterize docker version for easier future maintenance.
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/tools/compute-images/scripts/base.sh b/tools/compute-images/scripts/base.sh
index fda899fcc..260c5d47e 100644
--- a/tools/compute-images/scripts/base.sh
+++ b/tools/compute-images/scripts/base.sh
@@ -78,6 +78,7 @@ wait_for_apt_locks && $SUDO DEBIAN_FRONTEND=noninteractive apt-get -qq --yes ins
# We want Docker 20.10 or later so that we support glibc 2.33 and up in the container, cf.
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005906
+dockerversion=5:20.10.13~3-0
if [[ "$DIST" =~ ^debian ]]; then
family="debian"
if [ "$DIST" == "debian10" ]; then
@@ -100,7 +101,7 @@ curl -fsSL https://download.docker.com/linux/$family/gpg | $SUDO gpg --dearmor -
echo deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/$family/ $distro stable | \
$SUDO tee /etc/apt/sources.list.d/docker.list
$SUDO apt-get update
-$SUDO apt-get -yq --no-install-recommends install docker-ce=5:20.10.13~3-0~$family-$distro
+$SUDO apt-get -yq --no-install-recommends install docker-ce=${dockerversion}~${family}-${distro}
# Set a higher ulimit and the resolver (if set) for docker
$SUDO sed "s/ExecStart=\(.*\)/ExecStart=\1 --default-ulimit nofile=10000:10000 ${SET_RESOLVER}/g" \
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list