tai271828/solvcon:latest

$ singularity pull shub://tai271828/solvcon:latest

Singularity Recipe

BootStrap: debootstrap
OSVersion: xenial
MirrorURL: http://us.archive.ubuntu.com/ubuntu/


%environment
    export SOLVCON_WORKING_DIR=/opt/solvcon-working
    export PATH="$SOLVCON_WORKING_DIR/venv-conda/bin:$SOLVCON_WORKING_DIR/miniconda/bin:$PATH"

%runscript
    echo "Welcome to SOLVCON singularity instance."

%files
    prepare-solvcon-dev.sh /prepare-solvcon-dev.sh

%post
    echo "Prepare to build SOLVCON in singularity instance..."
    sed -i 's/$/ universe/' /etc/apt/sources.list
    apt-get update
    # general tools
    apt-get install vim git -y
    # used for miniconda extraction
    apt-get install bzip2
    # SOLVCON build tools
    apt-get install openssh-client openssh-server liblapack-pic liblapack-dev -y
    apt-get install build-essential unzip -y
    # it currently works in the root path
    echo "Working location: " `pwd`
    # it is /root
    echo $HOME
    apt-get clean

    # start to build
    export SOLVCON_BUILD_DIR=/opt
    /bin/bash -c "source /prepare-solvcon-dev.sh $SOLVCON_BUILD_DIR"

Collection


View on Datalad

Metrics

key value
id /containers/tai271828-solvcon-latest
collection name tai271828/solvcon
branch master
tag latest
commit ef3f7d151201aa24dbe70d1649ea43752aa49877
version (container hash) 978bcf4eb604adc6862a199af665e930
build date 2018-10-28T13:17:12.816Z
size (MB) 2754
size (bytes) 916733983
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.