ftabaro/singularity-coderefinery2020:latest
$ singularity pull shub://ftabaro/singularity-coderefinery2020:latest
Singularity Recipe
Bootstrap: docker
From: jupyter/datascience-notebook:latest
%help
Extended jupyter/datascience-notebook with packages for CodeRefinery workshop.
How to start Jupyter Lab IDE:
- with default options: ./coderefinery.sif
- with custom options: ./coderefinery.sif --port=9876 --no-browser
- with bind mount(s): singularity run -B /my/custom/path coderefinery.sif
- with bind mount(s) and custom options: singularity run -B /my/custom/path coderefinery.sif --port=9876 --no-browser
%labels
Author francesco.tabaro@tuni.fi
Version 0.1.1
%post
BUILDDATE=$(date -I)
VERSION="0.1.1"
echo "export BUILDDATE=\"${BUILDDATE}\"" >> $SINGULARITY_ENVIRONMENT
echo "export VERSION=\"${VERSION}\"" >> $SINGULARITY_ENVIRONMENT
PATH=/opt/conda/bin:$PATH && \
apt-get update && apt-get install -y -q vim && \
conda install --quiet --yes sphinx sphinx_rtd_theme pytest pycodestyle && \
conda install --quiet --yes -c conda-forge jupyterlab-git nbdime ipywidgets && \
conda clean --all -f && \
pip install jupyterlab_github && \
jupyter lab build && \
jupyter labextension install @jupyterlab/github
%environment
export PATH=/opt/conda/bin:$PATH
%runscript
echo "CodeRefinery 2020 Singularity container v$VERSION-$BUILDDATE"
echo "Starting Jupyter Lab..."
exec jupyter lab $@
Collection
View on Datalad
Metrics
| key | value |
|---|---|
| id | /containers/ftabaro-singularity-coderefinery2020-latest |
| collection name | ftabaro/singularity-coderefinery2020 |
| branch | master |
| tag | latest |
| commit | c3352cd91e569d7bf6d31c22c3671b2b2a61751c |
| version (container hash) | 720e2a592f4d663ab895995d2b83a58b2e1e1d42d7852880d439ba9f85c93804 |
| build date | 2020-05-25T16:21:57.397Z |
| size (MB) | 1898.1953125 |
| size (bytes) | 1990402048 |
| 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.