singularity-tools: create mount points for image building (#41470)

This commit is contained in:
Justin Bedő 2018-06-19 07:50:06 +10:00 committed by xeji
parent 9f26d17f4a
commit 1e0a2eafbf

View File

@ -96,7 +96,7 @@ rec {
echo creating
singularity image.create -s $((1 + size * 4 / 1024 + ${toString extraSpace})) $out
echo importing
mkdir -p /var/singularity/mnt/container
mkdir -p /var/singularity/mnt/{container,final,overlay,session,source}
tar -c . | singularity image.import $out
'');