bmacherone/singularity:torchmatplotlib
$ singularity pull shub://bmacherone/singularity:torchmatplotlib
Singularity Recipe
Bootstrap: docker
From: ubuntu:18.04
# torch matplotlib test environment
%post
# download the latest package lists
apt-get update -y
# python3-tk, python3-cairo are required by matplotlib
DEBIAN_FRONTEND=noninteractive
apt-get install -y --no-install-recommends \
python3 \
python3-tk \
python3-pip \
python3-cairo
# 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 torch numpy matplotlib
Collection
- Name: bmacherone/singularity
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/bmacherone-singularity-torchmatplotlib |
collection name | bmacherone/singularity |
branch | master |
tag | torchmatplotlib |
commit | 190d3a9ce4693ad0d5bfa425f45faf123a15bbf0 |
version (container hash) | 7e279845b48fa2308f351a5ad3c78a9f |
build date | 2019-06-05T18:27:51.234Z |
size (MB) | 2187 |
size (bytes) | 1474228255 |
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.