- Access the following helper to add the neurodebian repository in your apt list https://neuro.debian.net/install_pkg.html?p=fsl
I'm using Debian GNU/Linux 11.0 (bullseye) and a server in Munich.
apt install gnupg # required
wget -O- http://neuro.debian.net/lists/bullseye.de-m.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
sudo apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com 0xA5D32F012649A5A9
apt update
- Install the following packages:
apt install singularity-container
apt install debootstrap
- Create the following file:
- debian.def
MirrorURL: http://deb.debian.org/debian
OSVersion: stable
Include: vim
%post
apt -y update`
apt -y install python3.9 python3-pip
- Execute the command bellow to create the container
sudo singulairity build --sandbox debian.sandbox debian.def
- Enter the container shell with writable mode to install other softwares
singularity shell --writable debian.sandbox
- When the container is ready, you can generate the image file:
sudo singularity build container.sif debian.sandbox
- Write definition file:
- bd4qol.def
Bootstrap: docker
From: tensorflow/tensorflow:latest
%post
apt -y install sudo
sudo pip3 install pandas scipy numpy seaborn shap missingpy
%labels
Author Moreira-Soares, M
Site https://phydev.github.io
Project BD4QoL
Version v1.0.0
%help
Big Data for Quality of Life - BD4QoL
This container contains python3 with:
tensorflow, keras, pandas, scikit-learn, seaborn, numpy, scipy, missingpy and shap.
- Build
sudo singularity build bd4qol.sif bd4qol.def