Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tp1ARA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OTT Oceane
tp1ARA
Commits
5815d711
Commit
5815d711
authored
6 months ago
by
OTT Oceane
Browse files
Options
Downloads
Patches
Plain Diff
Doker
parent
6708d646
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
container/Dockerfile
+30
-0
30 additions, 0 deletions
container/Dockerfile
container/m2bsgreprod.def
+38
-0
38 additions, 0 deletions
container/m2bsgreprod.def
with
68 additions
and
0 deletions
container/Dockerfile
0 → 100644
+
30
−
0
View file @
5815d711
from
rocker/rstudio:4.1.3
RUN
apt-get update
&&
\
apt-get
install
-y
\
libcurl4-openssl-dev
\
libssl-dev libssh2-1-dev
\
libxml2-dev zlib1g-dev
\
&&
\
R
-e
"install.packages(c('devtools'))"
# Update the system and install necessary libraries for R packages
RUN
apt-get update
&&
apt-get
install
-y
\
libcurl4-openssl-dev
\
libssl-dev
\
libxml2-dev
\
libxt-dev
\
libgit2-dev
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
# Install other R
RUN
R
-e
"install.packages(c('plyr', 'BiocManager'), repos='https://cran.biotools.fr')"
\
&&
R
-e
"BiocManager::install(c('snpStats', 'SNPRelate'))"
# Expose the RStudio Server port
EXPOSE
8787
# Start RStudio Server
CMD
["/init"]
This diff is collapsed.
Click to expand it.
container/m2bsgreprod.def
0 → 100644
+
38
−
0
View file @
5815d711
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment