TomHarrop/singularity-containers:borgbackup_1.1.6

$ singularity pull shub://TomHarrop/singularity-containers:borgbackup_1.1.6

Singularity Recipe

Bootstrap: docker
From: ubuntu:18.04

%help

    borgbackup 1.1.6

%labels

    MAINTAINER "Tom Harrop (twharrop@gmail.com)"
    VERSION "borgbackup 1.1.6"

%post

    # install dependencies
    apt-get update
    apt-get install -y \
        build-essential \
        fuse \
        libacl1 \
        libacl1-dev \
        libfuse-dev \
        libssl-dev \
        openssl \
        pkg-config \
        python-virtualenv \
        python3 \
        python3-dev \
        python3-pip \
        python3-virtualenv \
        wget 

    # download borg
    wget -O "borg.tar.gz" \
        --no-check-certificate \
        https://github.com/borgbackup/borg/releases/download/1.1.6/borgbackup-1.1.6.tar.gz
    mkdir borg
    tar -zxf borg.tar.gz \
        -C borg \
        --strip-components 1

    # install
    cd borg || exit 1
    pip3 install -r requirements.d/development.txt
    pip3 install -r requirements.d/docs.txt
    pip3 install -r requirements.d/fuse.txt
    pip3 install .

    cd .. || exit 1
    rm -rf borg borg.tar.gz

%runscript

    exec /usr/local/bin/borg "$@"

Collection


View on Datalad

Metrics

key value
id /containers/TomHarrop-singularity-containers-borgbackup_1.1.6
collection name TomHarrop/singularity-containers
branch master
tag borgbackup_1.1.6
commit b6d12582e87c27ef90a1f715b3bee2056b32fa60
version (container hash) 19fd504c092cd087e01f9baadd4dad2c
build date 2018-08-13T01:36:23.128Z
size (MB) 600
size (bytes) 223957023
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.