mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
singularity-tools: create mount points for image building (#41470)
This commit is contained in:
parent
9f26d17f4a
commit
1e0a2eafbf
@ -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
|
||||
'');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user