icaoberg/singularity-compression:latest

$ singularity pull shub://icaoberg/singularity-compression:latest

Singularity Recipe

Bootstrap: docker
From: ubuntu:16.04

IncludeCmd: yes

%labels
  MAINTAINER icaoberg
  EMAIL icaoberg@alumni.cmu.edu
  WEBSITE http://linus.cbd.cs.cmu.edu
  VERSION v1.0

%runscript
      exec /usr/bin/python "$@"

%post
    /usr/bin/apt-get update && /usr/bin/apt-get -y upgrade
    /usr/bin/apt-get -y install module-init-tools
    /usr/bin/apt-get update --fix-missing
    /usr/bin/apt-get install -y --no-install-recommends apt-utils
    /usr/bin/apt-get install -y build-essential
    /usr/bin/apt-get install -y rar unrar p7zip-full
    
    if [ ! -d /images ]; then mkdir /images; fi
    if [ ! -d /projects ]; then mkdir /projects; fi
    if [ ! -d /containers ]; then mkdir /containers; fi
    if [ ! -d /share ]; then mkdir /share; fi
    if [ ! -d /scratch ]; then mkdir /scratch; fi
    if [ ! -d /webservers/pfenningweb ]; then mkdir -p /webservers/pfenningweb; fi
    
####################################################################################
%appenv unrar
   BEST_APP=unrar
   export BEST_APP

%apprun unrar
   unrar "$@"
   
####################################################################################
%appenv rar
   BEST_APP=rar
   export BEST_APP
   
%apprun rar
   rar "$@"

####################################################################################
%appenv 7z 
   BEST_APP=7z
   export BEST_APP

%apprun 7z
   7z "$@"

Collection


View on Datalad

Metrics

key value
id /containers/icaoberg-singularity-compression-latest
collection name icaoberg/singularity-compression
branch master
tag latest
commit 4ff4fde9047fb3ee2411e9df7a392a943cb40a74
version (container hash) 32d1196979b259f7b0f6ee8d312e3fe1
build date 2019-09-13T03:26:16.078Z
size (MB) 315.0
size (bytes) 124629023
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.