Vibrant

This template runs the database download, making the image heavier but easier to move around.

To be used with the fill_template tool.

Bootstrap: docker
From: centos:centos7.6.1810


%environment
    source /opt/software/conda/bin/activate /opt/software/conda_env


%post
    yum -y install epel-release wget which nano curl zlib-devel
    yum -y groupinstall "Development Tools"

    mkdir -p /opt/software

    cd /opt/software
    curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
    sh ./Miniconda3-latest-Linux-x86_64.sh -p /opt/software/conda -b

    /opt/software/conda/bin/conda config --add channels defaults
    /opt/software/conda/bin/conda config --add channels conda-forge
    /opt/software/conda/bin/conda config --add channels bioconda
    /opt/software/conda/bin/conda create -p /opt/software/conda_env -y {package}={version}
    source /opt/software/conda/bin/activate /opt/software/conda_env
    download-db.sh
    cd /opt/software

%runscript
    exec {binary} "$@"

This page has been automatically generated from a template file from the repository. Please, report issues if you think this template could or should be improved.