vinujose/ubuntu:r
$ singularity pull shub://vinujose/ubuntu:r
Singularity Recipe
Bootstrap: docker
From: ubuntu:18.04
%environment
export LC_ALL=C
%post
# Install R installation dependencies
# libssl-dev for gnupg; libcurl4-openssl-dev for Rcurl; libxml2-dev for XML; libhdf5-dev for Seurat
apt-get -y update
apt-get -y install libssl-dev libcurl4-openssl-dev libxml2-dev libhdf5-dev gnupg ca-certificates wget
# Install R
echo "deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/" >> /etc/apt/sources.list
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | apt-key add -
apt-get -y update
DEBIAN_FRONTEND=noninteractive apt-get -y install r-base
DEBIAN_FRONTEND=noninteractive apt-get -y install r-base-dev
R --slave -e 'if (!requireNamespace("BiocManager", quietly = TRUE)){ install.packages("BiocManager")}; BiocManager::install(pkgs=c("affy","limma","sva"), version = "3.8")'
echo 'install.packages(pkgs=c("reshape2", "ggplot2", "gplots", "RColorBrewer","Seurat" ))' | R --slave
%runscript
exec echo "I am a singularity container with Ubuntu 18.04 and R 3.5."
%labels
Maintainer Vinu Jose
%help
Container with Ubuntu 18.04 and R 3.5.
Collection
- Name: vinujose/ubuntu
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/vinujose-ubuntu-r |
collection name | vinujose/ubuntu |
branch | master |
tag | r |
commit | ad10364f1ebfc402716818d2bfb85910bf964ea0 |
version (container hash) | 375a26e325cd66a1f9ee0fe9ea3bbc96 |
build date | 2018-12-06T22:06:25.325Z |
size (MB) | 1195 |
size (bytes) | 436162591 |
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.