generated from carpentries-incubator/template
-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Dockerfile
19 lines (13 loc) · 925 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM bioconductor/bioconductor_docker:devel
LABEL authors="alan.ocallaghan@@outlook.com" \
description="Docker image containing dependencies for the Carpentries Incubator lesson 'High dimensional statistics with R' in a Bioconductor-devel container."
RUN apt-get update && apt-get install -y libyaml-dev
RUN git clone https://github.com/rbenv/ruby-build.git && \
PREFIX=/usr/local ./ruby-build/install.sh && \
ruby-build -v 3.1.2 /usr/local
RUN gem install github-pages bundler kramdown
RUN python3 -m pip install --upgrade pip setuptools wheel pyyaml==5.3.1 requests
RUN echo 'options(Ncpus=parallel::detectCores())' >> .Rprofile
RUN wget https://raw.githubusercontent.com/carpentries-incubator/high-dimensional-stats-r/main/dependencies.csv
RUN Rscript -e 'pkgs <- read.csv("dependencies.csv", header=FALSE); BiocManager::install(pkgs[[1]])'
RUN Rscript -e "BiocManager::install('isglobal-brge/methylclock')"