brevans/agalma:1.0.0

$ singularity pull shub://brevans/agalma:1.0.0

Singularity Recipe

Bootstrap: yum
OSVersion: 7
MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/$basearch/
Include: yum

%labels
    Name agalma
    Maintainer "Benjamin Evans" <b.evans@yale.edu>
    Version 1.0.0
    Architecture x86_64
    URL https://bitbucket.org/caseywdunn/agalma

%post
    MINICONDA=Miniconda2-latest-Linux-x86_64.sh
    PREFIX=/opt/agalma
    AGALMABIN=$PREFIX/bin
    AGALMAVERSION=1.0.0

    cd /tmp

    # yum updates and prereqs
    yum update -y
    yum install -y gzip bzip2 wget which tar

    # install miniconda
    wget https://repo.continuum.io/miniconda/$MINICONDA
    bash $MINICONDA -b -p $PREFIX
    PATH=$AGALMABIN:$PATH

    # install agalma
    conda install -yc dunnlab agalma=$AGALMAVERSION

    # cleanup
    yum autoremove -y
    yum clean all
    conda clean -ay
    rm $MINICONDA
    
    # simple test
    agalma -h

%environment
    # add agalma environment variables to singularity runtime environment
    export AGALMABIN=/opt/agalma/bin
    export PATH=$AGALMABIN:$PATH

%runscript
    exec agalma "$@"

Collection


View on Datalad

Metrics

key value
id /containers/brevans-agalma-1.0.0
collection name brevans/agalma
branch master
tag 1.0.0
commit 819218857c1e9cbbd39255b2481bfe539e9c9b10
version (container hash) 41ca3dcb7007fefbdc0097ec846ab41d
build date 2017-12-08T10:41:24.298Z
size (MB) 4546
size (bytes) 1422200863
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.