Skip to content
Snippets Groups Projects
Verified Commit 18e9f912 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

sambamba: add singularity files

parent f1a4275c
No related branches found
No related tags found
No related merge requests found
#/bin/sh
sudo singularity build --force /bin/sambamba:0.6.7.sif src/singularity_modules/sambamba/0.6.7/sambamba.def
Bootstrap: docker
From: ubuntu:18.04
%labels
MAINTAINER Laurent Modolo
%post
SAMBAMBA_VERSION=0.6.7
PACKAGES="curl=7.58.0* \
ca-certificates=20180409 \
build-essential=12.4* \
zlib1g-dev=1:1.2.11*"
apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
curl -k -L https://github.com/biod/sambamba/releases/download/v${SAMBAMBA_VERSION}/sambamba_v${SAMBAMBA_VERSION}_linux.tar.bz2 -o sambamba_v${SAMBAMBA_VERSION}_linux.tar.bz2 && \
tar xvjf sambamba_v${SAMBAMBA_VERSION}_linux.tar.bz2 && \
mv sambamba /usr/bin/ && \
rm -R sambamba_v${SAMBAMBA_VERSION}_linux*
%environment
export SAMBAMBA_VERSION=0.6.7
%runscript
exec /bin/bash "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment