mcw-rcc/r-base:3.5.3
$ singularity pull shub://mcw-rcc/r-base:3.5.3
Singularity Recipe
BootStrap: docker
From: ubuntu:16.04
%help
This container runs R.
%labels
Maintainer Matthew Flister
R_Version 3.5.3
%apprun R
exec R "${@}"
%apprun Rscript
exec Rscript "${@}"
%runscript
exec R "${@}"
%post
mkdir -p /scratch/global /scratch/local /rcc/stor1/refdata /rcc/stor1/projects /rcc/stor1/depts /extR/library1 /extR/library2
apt-get update
apt-get -y install \
wget \
build-essential \
software-properties-common \
apt-transport-https \
locales
echo "LC_ALL=en_US.UTF-8" >> /etc/environment
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
locale-gen en_US.UTF-8
echo 'deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/' >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
apt-get update
apt-get -y install --no-install-recommends \
r-base=${R_VERSION}* \
r-base-core=${R_VERSION}* \
r-base-dev=${R_VERSION}* \
r-recommended=${R_VERSION}* \
r-base-html=${R_VERSION}* \
r-doc-html=${R_VERSION}*
apt-get clean
rm -rf /var/lib/apt/lists/*
echo "options(repos = c(CRAN = 'https://cloud.r-project.org/'), download.file.method = 'libcurl')" >> /usr/lib/R/etc/Rprofile.site
Collection
- Name: mcw-rcc/r-base
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/mcw-rcc-r-base-3.5.3 |
collection name | mcw-rcc/r-base |
branch | 3.5.3 |
tag | 3.5.3 |
commit | 804c586f50b509297e6c55136a534dcd97d5cd7a |
version (container hash) | 09700a962d08ed31582e8e3569657d9d |
build date | 2019-11-11T14:48:55.469Z |
size (MB) | 604 |
size (bytes) | 238346271 |
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.