ronboger Claude Opus 4.5 commited on
Commit
f49c4e2
·
1 Parent(s): 7293ed5

fix: remove unsupported --no-mount flag from apptainer build

Browse files

The %setup section already handles mount point creation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. scripts/slurm_build_apptainer.sh +2 -3
scripts/slurm_build_apptainer.sh CHANGED
@@ -31,9 +31,8 @@ echo "Temp dir: $APPTAINER_TMPDIR"
31
  echo ""
32
 
33
  # Build the container
34
- # Use --no-mount to disable automatic bind mounts during build
35
- # This prevents "destination doesn't exist" errors from system-configured mounts
36
- apptainer build --fakeroot --no-mount home,tmp cpr.sif apptainer.def
37
 
38
  BUILD_STATUS=$?
39
 
 
31
  echo ""
32
 
33
  # Build the container
34
+ # The %setup section in apptainer.def creates mount points before container init
35
+ apptainer build --fakeroot cpr.sif apptainer.def
 
36
 
37
  BUILD_STATUS=$?
38