Apptainer/Singularity has a different format for the specification of a container.
A peculiarity of Apptainer is the availabilty of the local working directory and the home directory in the container due to being automagically mounted. However those are not available in the build step. Therefore installation files have to be copied in a %files block.
In a def-File you can specify a runscript or a startscript which are written into the containers root dir. The runscript is executed when calling the run command on the container.
Apptainer/Singularity has a different format for the specification of a container. A peculiarity of Apptainer is the availabilty of the local working directory and the home directory in the container due to being automagically mounted. However those are not available in the build step. Therefore installation files have to be copied in a
%files
block.In a def-File you can specify a runscript or a startscript which are written into the containers root dir. The runscript is executed when calling the run command on the container.
The definition file has been commited to BLs Repo. The pipeline needed some minor changes to work with Apptainer https://github.com/fairagro/uc6_csmTools/commit/d4a0622d3e2396ee2676d6504fa8e7d2c9def941
Apptainer was installed by following the docs: https://apptainer.org/docs/admin/main/installation.html#install-ubuntu-packages