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

samblaster: add singularity files

parent 086ccdb8
No related branches found
No related tags found
No related merge requests found
#/bin/sh
sudo singularity build --force bin/samblaster:0.1.24.sif src/singularity_modules/samblaster/0.1.24/samblaster.def
singularity sign bin/samblaster:0.1.24.sif
Bootstrap: docker
From: ubuntu:18.04
%labels
MAINTAINER Laurent Modolo
%post
SAMBLASTER_VERSION=0.1.24
PACKAGES="curl \
ca-certificates \
build-essential \
zlib1g-dev"
apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
curl -k -L https://github.com/GregoryFaust/samblaster/releases/download/v.${SAMBLASTER_VERSION}/samblaster-v.${SAMBLASTER_VERSION}.tar.gz -o samblaster-v.${SAMBLASTER_VERSION}.tar.gz && \
tar xvf samblaster-v.${SAMBLASTER_VERSION}.tar.gz && \
cd samblaster-v.${SAMBLASTER_VERSION}/ && \
make && \
cp samblaster /usr/bin && \
cd .. && \
rm -R samblaster-v.${SAMBLASTER_VERSION}/
%environment
export SAMBLASTER_VERSION=0.1.24
%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