touala/WhatsHap:latest

$ singularity pull shub://touala/WhatsHap:latest

Singularity Recipe

Bootstrap: docker
From: centos:centos8

%help
For more information, please consult https://github.com/touala/WhatsHap

# Add files to the container
%setup
    cp postInstall /tmp/postInstall

# Install dependencies
%post
    # Install basic dependencies
    dnf check-update && dnf upgrade -y && dnf install -y \
        "langpacks-en" \
        "glibc-all-langpacks"

    # Define working directory
    mkdir /home/whatshap
    cd /home/whatshap

    # Install remaining dependencies
    mv /tmp/postInstall /postInstall
    bash /postInstall

    # Set default behavior
    cat > /.singularity.d/env/99-custom.sh <<EOF
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]WhatsHap:\[\033[33;1m\]\w\[\033[m\]$ "
SINGULARITY_SHELL=/bin/bash
EOF

%environment
    export HOME=/home/whatshap

%runscript
    cd /home/whatshap
    exec /bin/bash

Collection


View on Datalad

Metrics

key value
id /containers/touala-WhatsHap-latest
collection name touala/WhatsHap
branch main
tag latest
commit 786f2ee45df4e7f92b34674c0e82ed14f6a3db9a
version (container hash) 87b9366ceea39a86b8e55d0310921304
build date 2020-10-03T07:25:50.043Z
size (MB) 1543.0
size (bytes) 619876383
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.