alaindomissy/rnashapes:tag2
$ singularity pull shub://alaindomissy/rnashapes:tag2
Singularity Recipe
BootStrap: docker
From:ubuntu:14.04
# this would include the CMD line from the dockerfile
# ( here: CMD [ "/bin/bash" ] ) as the %runscript
# IncludeCmd: yes
###############################################################################
%setup
# this is run from outside the container to start setting it up
echo "Looking in directory '$SINGULARITY_ROOTFS' for /bin/sh"
if [ ! -x "$SINGULARITY_ROOTFS/bin/sh" ]; then
echo "Hrmm, this container does not have /bin/sh installed..."
exit 1
fi
mkdir -p $SINGULARITY_ROOTFS/oasis/tscc/scratch
mkdir -p $SINGULARITY_ROOTFS/projects/ps-yeolab
mkdir -p $SINGULARITY_ROOTFS/projects/ps-yeolab3
mkdir -p $SINGULARITY_ROOTFS/projects/ps-scrm
###############################################################################
%files
###############################################################################
%post
# this is run inside the container to install all necessary packages
apt-get install -y software-properties-common
add-apt-repository -y ppa:bibi-help/bibitools
apt-get -y update
apt-get -y install rnashapes
ln -s /usr/bin/RNAshapes /usr/bin/rnashapes
###############################################################################
%labels
MAINTAINER adomissy@ucsd.edu
VERSION 0.0.1
BUILD_DATE 20170718
###############################################################################
%environment
#PATH=/opt/conda/bin:/usr/local/bin:/usr/bin:/bin
PATH="/opt/conda/bin:$PATH"
PATH="/usr/bin/rnashapes:$PATH"
export PATH
###############################################################################
%runscript
# this will get copied to /.singularity.d/runscript indide the container
# which will run whenever the container is called as an executable
PS1="$SINGULARITY_CONTAINER":"$PS1"
/usr/bin/rnashapes $@
PS1=$PREVIOUSPS1
###############################################################################
%test
# this will be run once upon completion of container building
#
#/opt/test.sh
#
Collection
- Name: alaindomissy/rnashapes
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/alaindomissy-rnashapes-tag2 |
collection name | alaindomissy/rnashapes |
branch | master |
tag | tag2 |
commit | 7d3779fdddf4b0cc6faad8856efb7b2bf1c20f4b |
version (container hash) | 99015bf9589651b2bcff1d040caa7e73 |
build date | 2017-10-15T18:24:56.188Z |
size (MB) | 476 |
size (bytes) | 131485727 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.