saviodot/singularity-rstudio:latest
$ singularity pull shub://saviodot/singularity-rstudio:latest
Singularity Recipe
BootStrap: shub
From: j-andrews7/singularity-r
%labels
Maintainer Jared Andrews
RStudio_Version 1.2.5033
%help
This will run RStudio Server
%apprun rserver
exec rserver "${@}"
%runscript
exec rserver "${@}"
%environment
export PATH=/usr/lib/rstudio-server/bin:${PATH}
%setup
install -Dv \
rstudio_auth.sh \
${SINGULARITY_ROOTFS}/usr/lib/rstudio-server/bin/rstudio_auth
install -Dv \
ldap_auth.py \
${SINGULARITY_ROOTFS}/usr/lib/rstudio-server/bin/ldap_auth
%post
# Software versions
export RSTUDIO_VERSION=1.2.5033
# Install RStudio Server, added libgit2-dev
add-apt-repository ppa:cran/libgit2
apt-get update
apt-get install -y --no-install-recommends \
ca-certificates \
wget \
gdebi-core \
libssh2-1-dev \
libgit2-dev \
libproj-dev
wget \
--no-verbose \
-O rstudio-server.deb \
"https://download2.rstudio.org/server/trusty/amd64/rstudio-server-${RSTUDIO_VERSION}-amd64.deb"
gdebi -n rstudio-server.deb
rm -f rstudio-server.deb
# Add support for LDAP authentication
wget \
--no-verbose \
-O get-pip.py \
"https://bootstrap.pypa.io/get-pip.py"
python3.8 get-pip.py
rm -f get-pip.py
python3.8 -m pip install ldap3
python3.8 -m pip install numpy
python3.8 -m pip install MACS2
# Disable session timeout
echo "session-timeout-minutes=0" > /etc/rstudio/rsession.conf
# Clean up
rm -rf /var/lib/apt/lists/*
Collection
- Name: saviodot/singularity-rstudio
- License: MIT License
View on Datalad
Metrics
key | value |
---|---|
id | /containers/saviodot-singularity-rstudio-latest |
collection name | saviodot/singularity-rstudio |
branch | master |
tag | latest |
commit | 8aa01c98d774f17fffe7a4a179183617f21ee731 |
version (container hash) | 5419a7aa09fa0263ebefa409e6b2cd74 |
build date | 2021-02-04T01:03:55.740Z |
size (MB) | 1457.0 |
size (bytes) | 450580511 |
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.