Skip to content
Snippets Groups Projects
Commit fbab6c1f authored by TRON Kelly's avatar TRON Kelly
Browse files

container full

parent 22a70896
Branches
Tags
No related merge requests found
Bootstrap: docker
From: rocker/rstudio:4.1.3
%post
# Update the system and install necessary libraries for building R packages
apt-get update && \
apt-get install -y \
libcurl4-openssl-dev \
libssl-dev \
libssh2-1-dev \
libxml2-dev \
libxt-dev \
libgit2-dev \
zlib1g-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install necessary R packages
R -e "install.packages(c('devtools', 'plyr', 'BiocManager'), repos='https://cran.biotools.fr')"
# Install Bioconductor packages
R -e "BiocManager::install(c('snpStats', 'SNPRelate'))"
# Install GenABEL.data from the CRAN archive
R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/GenABEL.data/GenABEL.data_1.0.0.tar.gz', repos=NULL, type='source')"
# Install the archived GenABEL package from the CRAN archive
R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/GenABEL/GenABEL_1.8-0.tar.gz', repos=NULL, type='source')"
R -e 'install.packages("genetics")'
R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/LDheatmap/LDheatmap_1.0-6.tar.gz', repos=NULL, type='source')"
%environment
# Set R library paths if necessary
export R_LIBS_USER=/usr/local/lib/R/site-library
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment