-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
28 lines (22 loc) · 978 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#generated from 4e39af5fe798d400963f32d25e09a1fb24758ecf
# --platform=linux/amd64 to avoid 'no match for platform in the manifest' on M1
FROM rocker/tidyverse:4
COPY . /spacemarkers
WORKDIR /spacemarkers
RUN sudo apt-get update -y && \
apt-get upgrade -y && \
apt-get install libhdf5-dev build-essential patch -y
RUN Rscript -e 'install.packages("BiocManager");\
BiocManager::install("CoGAPS")'
RUN Rscript -e 'devtools::install_deps()'
#https://github.com/r-lib/devtools/issues/2395
RUN Rscript -e 'devtools::install(dependencies = TRUE)'
#optoional packages - for vizualization
RUN Rscript -e 'install.packages("patchwork");\
install.packages("ggplot2");\
install.packages("dplyr");\
install.packages("DT");\
install.packages("Matrix");\
install.packages("jsonlite");\
install.packages("pheatmap");\
install.packages("RColorBrewer")'