kirsho/bw223:latest
$ singularity pull shub://kirsho/bw223:latest
Singularity Recipe
Bootstrap: docker
From: continuumio/miniconda3
%files
bw223.yml
%environment
PATH=/opt/conda/envs/$(head -1 bw223.yml | cut -d' ' -f2)/bin:$PATH # Change $PATH
%post
echo "Creating a Singularity Container of my bw223 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 bw223.yml | cut -d' ' -f2)" >> ~/.bashrc # will start "ngs3" 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 bw223.yml # Conda create my env
%runscript
exec "$@"
%labels
Maintainer olivier.kirsh@u-paris.fr # Merci qui?
Version v1.0 20190702
Collection
- Name: kirsho/bw223
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/kirsho-bw223-latest |
collection name | kirsho/bw223 |
branch | master |
tag | latest |
commit | a9317042525473c7a3b99e7c994d990b4d86ec7f |
version (container hash) | ae23433329b8e6c6daa901360d401555 |
build date | 2019-11-11T17:51:08.719Z |
size (MB) | 1314 |
size (bytes) | 507453471 |
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.