This is a singularity container packing a python 3.9 (only version) environment with all the packages necessary to execute all the python scripts present in the version 2.10.0 of the gad pipeline.
Python 3.9 is the latest available version in CentOS 8 used for this build.
Authors : valentin.vautrot@u-bourgogne.fr
Creation date : 2023-09-13
%setup
SINGULARITY_ROOTFS=$APPTAINER_ROOTFS
mkdir ${SINGULARITY_ROOTFS}/data
%files
# import custom python packages from local machine
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
...
...
@@ -13,18 +24,18 @@ sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /
dnf install -y epel-release
dnf update -y --exclude=filesystem
# filesystem packages updates poses problems by tempering with /proc, which is supposed to be owned by root, but is not in the .sif image
dnf install -y python39
dnf remove -y python3 && dnf autoremove
# by safety but useless, "python3" not found. The python3 present in /usr/bin is created with python3.9 install, so it is only a dependency ? python3 --version is 3.9.6 alright.
# by safety but useless, "python3" not found. The python3 present in /usr/bin in final image is created with python3.9 install, so it is only a dependency ? python3 --version is 3.9.6 alright.
dnf install -y python39
%files
# import custom python packages from ccub. TO MODIFY FOR LOCAL MACHINE