zhinoos/singularity:latest
$ singularity pull shub://zhinoos/singularity:latest
Singularity Recipe
Bootstrap: library
From: ubuntu:18.04
%post
# Downloads the latest package lists (important).
apt -y install software-properties-common
add-apt-repository universe
apt-get -y update
# Runs apt-get while ensuring that there are no user prompts that would
# cause the build process to hang.
# python3-tk is required by matplotlib.
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
python3 \
python3-tk \
python3-distutils\
python3-pip
# Reduce the size of the image by deleting the package lists we downloaded,
# which are useless now.
rm -rf /var/lib/apt/lists/*
# Install Python modules.
pip3 install setuptools
pip3 install torch numpy matplotlib
Collection
- Name: zhinoos/singularity
- License: None
View on Datalad
Metrics
| key | value |
|---|---|
| id | /containers/zhinoos-singularity-latest |
| collection name | zhinoos/singularity |
| branch | master |
| tag | latest |
| commit | a9dfc05a3570693a55e99a9102c828b23c788ff5 |
| version (container hash) | 4fa731df60b71f1eb64c88a3c31c628121519015732c94f28c58f6281c03f653 |
| build date | 2020-05-12T14:03:59.580Z |
| size (MB) | 1646.87109375 |
| size (bytes) | 1726869504 |
| 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.