Characterisation-Virtual-Laboratory/CharacterisationVL-Software:1.0.0

$ singularity pull shub://Characterisation-Virtual-Laboratory/CharacterisationVL-Software:1.0.0

Singularity Recipe

# Copyright (c) 2015-2016, Gregory M. Kurtzer. All rights reserved.
# 
# "Singularity" Copyright (c) 2016, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of any
# required approvals from the U.S. Dept. of Energy).  All rights reserved.

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


%runscript
    echo "This is what happens when you run the container..."


%post
    echo "*********************************************************"
    echo "Setup and display environment"
    echo "*********************************************************"
    export LC_ALL=en_AU.UTF-8
    export LANGUAGE=en_AU.UTF-8
    export DEBIAN_FRONTEND=noninteractive
    echo $LC_ALL
    echo $LANGUAGE
    echo $DEBIAN_FRONTEND
    echo "*********************************************************"
    echo "Install repositories"
    echo "*********************************************************"
    sed -i 's/main/main restricted universe multiverse/g' /etc/apt/sources.list
    echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 /" > /etc/apt/sources.list.d/cuda.list
    apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
    echo "*********************************************************"
    echo "Update repositories and install desktop"
    echo "*********************************************************"
    apt update
    apt upgrade -y
    apt install -y locales
    locale-gen en_AU.UTF-8
    apt install -y wget ubuntu-desktop vim software-properties-common git cmake 
    echo "*********************************************************"
    echo "Installing CUDA"
    echo "*********************************************************"
    apt install -y cuda-9-0
    echo "*********************************************************"
    echo "Installing python dependencies"
    echo "*********************************************************"
    apt install -y python-pip python-pyqt5 pyqt5-dev python-tk
    echo "*********************************************************"
    echo "Installing software"
    echo "*********************************************************"
    wget ftp://ftp.gwdg.de/pub/misc/sphire/crYOLO_V1_0_0/cryolo-1.0.0.tar.gz 
    wget ftp://ftp.gwdg.de/pub/misc/sphire/crYOLO_V1_0_0/cryoloBM-1.0.0.tar.gz
    wget ftp://ftp.gwdg.de/pub/misc/sphire/crYOLO_V1_0_0/gmodel_cryolo_20180621_0734_loss_0102.h5
    pip install numpy
    pip install cryolo-1.0.0.tar.gz
    pip install cryoloBM-1.0.0.tar.gz

Collection


View on Datalad

Metrics

key value
id /containers/Characterisation-Virtual-Laboratory-CharacterisationVL-Software-1.0.0
collection name Characterisation-Virtual-Laboratory/CharacterisationVL-Software
branch master
tag 1.0.0
commit 09a0769a587eac657fd7fc5a5ae34b9a5bd9ad95
version (container hash) 0a054dc986f32315509b26507207a039
build date 2018-08-06T09:55:01.795Z
size (MB) 8099
size (bytes) 4199952415
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.