idot/Singularity_recipes:pandora

$ singularity pull shub://idot/Singularity_recipes:pandora

Singularity Recipe

Bootstrap: debootstrap
OSVersion: bionic
MirrorURL: http://us.archive.ubuntu.com/ubuntu/

%help
  To run: `singularity exec pandora.simg pandora`

%environment
  PATH=/usr/local/bin:$PATH

%post
    apt update
    apt install -y software-properties-common
    apt-add-repository universe
    apt update
    apt install -y git wget build-essential cmake
    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8
    echo 'export LC_ALL=C.UTF-8' >> $SINGULARITY_ENVIRONMENT
    echo 'export LANG=C.UTF-8' >> $SINGULARITY_ENVIRONMENT

    #============================================
    # INSTALL ZLIB
    #============================================
    VERSION="1.2.11"
    wget http://www.zlib.net/zlib-"$VERSION".tar.gz -O - | tar xzf -
    cd zlib-"$VERSION"
    ./configure --prefix=/usr/
    make
    make install
    cd ..

    #============================================
    # INSTALL BOOST
    #============================================
    wget https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.gz -O - | tar xzf -
    cd boost_1_62_0
    ./bootstrap.sh --prefix=/usr/ --with-libraries=system,filesystem,iostreams
    ./b2 install
    cd ..

    #============================================
    # INSTALL PANDORA
    #============================================
    git clone -b dev --single-branch https://github.com/rmcolq/pandora.git
    cd pandora
    mkdir -p build
    cd build
    cmake ..
    make
    ctest -VV
    echo "export PATH=$(pwd):$PATH" >> $SINGULARITY_ENVIRONMENT

Collection


View on Datalad

Metrics

key value
id /containers/idot-Singularity_recipes-pandora
collection name idot/Singularity_recipes
branch master
tag pandora
commit 534adc3c74f4b5b3a86b6e396deefb3782678f55
version (container hash) 3342260c4ea72187db5f5161b9f7b5ff
build date 2018-07-30T16:14:05.768Z
size (MB) 2194
size (bytes) 509923359
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.