Spaces:
Runtime error
Runtime error
fix: remove unsupported --no-mount flag from apptainer build
Browse filesThe %setup section already handles mount point creation.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
scripts/slurm_build_apptainer.sh
CHANGED
|
@@ -31,9 +31,8 @@ echo "Temp dir: $APPTAINER_TMPDIR"
|
|
| 31 |
echo ""
|
| 32 |
|
| 33 |
# Build the container
|
| 34 |
-
#
|
| 35 |
-
|
| 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 |
|