kirsho/ngs2:latest
$ singularity pull shub://kirsho/ngs2:latest
Singularity Recipe
Bootstrap: docker
From: continuumio/miniconda3
%files
ngs2.yml
%environment
PATH=/opt/conda/envs/$(head -1 ngs2.yml | cut -d' ' -f2)/bin:$PATH # Change $PATH
%post
echo "Creating a Singularity Container of my ngs2 Conda Env" # What I'm doing
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc # enable conda for the current
echo "conda activate $(head -1 ngs2.yml | cut -d' ' -f2)" >> ~/.bashrc # will start "ngs2" conda env
apt-get update && apt-get -y install nano tree htop wget build-essential # Install
/opt/conda/bin/conda update -n base -c defaults conda # Update Conda
/opt/conda/bin/conda env create -f ngs2.yml # Conda create my env
%runscript
exec "$@"
%labels
Maintainer olivier.kirsh@u-paris.fr # Merci qui?
Version v1.0 20190701
Collection
- Name: kirsho/ngs2
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/kirsho-ngs2-latest |
collection name | kirsho/ngs2 |
branch | master |
tag | latest |
commit | 648418e89d82ac8377d10a349ebecc7cda434242 |
version (container hash) | 6200bce88420eb1f7039e72b10f8b63a |
build date | 2019-07-02T03:52:33.359Z |
size (MB) | 3173 |
size (bytes) | 1294979103 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.