From bf89ebf5f3b4bb6ec689a033897c5df6c613ac06 Mon Sep 17 00:00:00 2001 From: Marty Kandes <mkandes@sdsc.edu> Date: Tue, 23 Feb 2021 13:03:10 +0000 Subject: [PATCH] Increase singularity_version to v3.5.3; install debootstrap Increased the default singularity_version installed by the naked-singularity helper script to v3.5.3 due to this issue with specifying a SHELL to use in %post: https://github.com/hpcng/singularity/issues/4967 Also included the installation of debootstrap to support the building of base Ubuntu Singularituy containers. --- naked-singularity.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/naked-singularity.sh b/naked-singularity.sh index 2823202..2365d3d 100755 --- a/naked-singularity.sh +++ b/naked-singularity.sh @@ -17,7 +17,7 @@ # # LAST UPDATED # -# Thursday, December 31st, 2020 +# Tuesday, February 23rd, 2021 # # ---------------------------------------------------------------------- @@ -45,7 +45,7 @@ source log.sh naked::install() { - local singularity_version='3.5.2' + local singularity_version='3.5.3' local go_version='1.15.6' local -i use_rpm=1 @@ -133,6 +133,7 @@ naked::install() { sudo yum -y install wget sudo yum -y install squashfs-tools sudo yum -y install cryptsetup + sudo yum -y install debootstrap elif [[ "${os_release_id}" = 'ubuntu' ]]; then @@ -150,6 +151,7 @@ naked::install() { sudo apt-get -y install pkg-config sudo apt-get -y install git sudo apt-get -y install cryptsetup-bin + sudo apt-get -y install debootstrap else -- GitLab