singularityhub/sregistry-cli:latest
$ singularity pull shub://singularityhub/sregistry-cli:latest
Singularity Recipe
Bootstrap: docker
From: continuumio/miniconda3
# sudo singularity build sregistry.simg Singularity
#######################################
# Global
#######################################
%runscript
exec /opt/conda/bin/sregistry "$@"
#######################################
# Google Cloud Storage
#######################################
%appenv google-storage
SREGISTRY_CLIENT=google-storage
export SREGISTRY_CLIENT
%apprun google-storage
exec /opt/conda/bin/sregistry "$@"
#######################################
# Google Cloud Drive
#######################################
%appenv google-drive
SREGISTRY_CLIENT=google-drive
export SREGISTRY_CLIENT
%apprun google-drive
exec /opt/conda/bin/sregistry "$@"
#######################################
# Singularity Hub
#######################################
%appenv hub
SREGISTRY_CLIENT=hub
export SREGISTRY_CLIENT
%apprun hub
exec /opt/conda/bin/sregistry "$@"
#######################################
# Singularity Registry
#######################################
%appenv registry
SREGISTRY_CLIENT=registry
export SREGISTRY_CLIENT
%apprun registry
exec /opt/conda/bin/sregistry "$@"
%labels
maintainer vsochat@stanford.edu
%post
apt-get update && apt-get install -y git build-essential \
libtool \
squashfs-tools \
autotools-dev \
automake \
autoconf \
uuid-dev \
libssl-dev
/opt/conda/bin/pip install dateutils
# Install Singularity
cd /opt && git clone https://www.github.com/singularityware/singularity.git && cd singularity
./autogen.sh && ./configure --prefix=/usr/local && make && make install
# Install SRegistry Global
cd /opt && git clone https://www.github.com/singularityhub/sregistry-cli
cd sregistry-cli
/opt/conda/bin/pip install setuptools
# This installs all "install extras"
/opt/conda/bin/pip install -e .
/opt/conda/bin/pip install -e .[google-drive]
/opt/conda/bin/pip install -e .[google-storage]
Collection
View on Datalad
Metrics
key | value |
---|---|
id | /containers/singularityhub-sregistry-cli-latest |
collection name | singularityhub/sregistry-cli |
branch | master |
tag | latest |
commit | feb34d1a1d68278148263a3e5c2a43db636c1368 |
version (container hash) | 37710369b0653ec5120e2f880693e24a |
build date | 2019-09-17T07:34:21.910Z |
size (MB) | 861 |
size (bytes) | 366690335 |
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.