From c9b63da85f7d3fc8f8e5316e7dc722063cc9dfc3 Mon Sep 17 00:00:00 2001 From: Robert Kalescky Date: Fri, 10 Feb 2023 10:49:47 -0600 Subject: [PATCH] =?UTF-8?q?Still=20need=20to=20rename=20image=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docker2singularity changes the extension to .simg instead of .sif. The file is actually a .sif. See: https://github.com/apptainer/singularity/issues/5178 --- biostats_mcgee/build_images.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/biostats_mcgee/build_images.sh b/biostats_mcgee/build_images.sh index cda07043..e1085f05 100755 --- a/biostats_mcgee/build_images.sh +++ b/biostats_mcgee/build_images.sh @@ -28,6 +28,7 @@ docker build --no-cache --progress=plain\ docker run -v /var/run/docker.sock:/var/run/docker.sock\ -v $PWD:/output --privileged -t --rm singularityware/docker2singularity\ -n ${img} ${name}:${version} |& tee -a build.log +mv ${img%.sif}.simg ${img} # Change Singularity image permissions if [[ $(uname -s) == "Linux" ]]; then