touala/centos8:latest

$ singularity pull shub://touala/centos8: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/centos8
    cd /home/centos8

    # 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\]centos8:\[\033[33;1m\]\w\[\033[m\]$ "
SINGULARITY_SHELL=/bin/bash
EOF

%environment
    export HOME=/home/centos8

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

Collection


View on Datalad

Metrics

key value
id /containers/touala-centos8-latest
collection name touala/centos8
branch main
tag latest
commit 07cd06832fac88ec039e8afd31c210413aed5fb5
version (container hash) c0c60bca445746a18db532f2e68b5b1e
build date 2020-12-14T07:43:47.293Z
size (MB) 647.0
size (bytes) 288174111
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.