Characterisation-Virtual-Laboratory/CharacterisationVL-Software:imagemagick-7.0.8-13

$ singularity pull shub://Characterisation-Virtual-Laboratory/CharacterisationVL-Software:imagemagick-7.0.8-13

Singularity Recipe

Bootstrap: debootstrap
MirrorURL: http://us.archive.ubuntu.com/ubuntu/
OSVersion:  xenial
Include: apt wget sudo vim build-essential git sudo software-properties-common
 
%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 vglrun and TurboVNC"
    echo "*********************************************************"
    wget https://swift.rc.nectar.org.au:8888/v1/AUTH_810/CVL-Singularity-External-Files/turbovnc_2.1.2_amd64.deb
    dpkg -i turbovnc_2.1.2_amd64.deb
    wget https://swift.rc.nectar.org.au:8888/v1/AUTH_810/CVL-Singularity-External-Files/virtualgl_2.5.2_amd64.deb
    dpkg -i virtualgl_2.5.2_amd64.deb
    apt update
    apt -y upgrade

    echo "================================="
    echo "Downloading ImageMagick 7.0.8-23 "
    echo "================================="
    cd /tmp
    wget https://imagemagick.org/download/ImageMagick.tar.gz

    echo "================================="
    echo "Extracting  ImageMagick 7.0.8-23 "
    echo "================================="    
    tar zxvf ImageMagick.tar.gz

    cd ImageMagick-7.0.8-23

    echo "================================"
    echo "Building ImageMagick            "
    echo "================================"
    ./configure
    make
    make install
    ldconfig /usr/local/lib

    echo "================================"
    echo "Testing install                 "
    echo "================================"
    /usr/local/bin/convert logo: logo.gif

%runscript
    $*

Collection


View on Datalad

Metrics

key value
id /containers/Characterisation-Virtual-Laboratory-CharacterisationVL-Software-imagemagick-7.0.8-13
collection name Characterisation-Virtual-Laboratory/CharacterisationVL-Software
branch master
tag imagemagick-7.0.8-13
commit 0dc75873d3c835e21134dd362f1e0d13f0e94d1d
version (container hash) a9323f5a19534650694f75ea61d9cfee
build date 2020-04-23T11:01:53.948Z
size (MB) 6347
size (bytes) 2942877727
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.