-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
23 lines (18 loc) · 1.17 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM r-base:4.3.2
#Install Moffitt's CA certificates
RUN apt-get update -qq && \
apt-get upgrade -y && \
apt-get clean all && \
apt-get install -y --no-install-recommends \
ca-certificates locales wget libcurl4-openssl-dev libxml2-dev libssl-dev && \
apt-get clean && \
apt-get purge && \
rm -rf /var/lib/apt/lists/*
#Install required system libraries
RUN apt-get -y update && apt-get -y install libhdf5-dev libudunits2-dev libv8-dev libgdal-dev cmake libfftw3-dev libfontconfig1-dev libcurl4-openssl-dev libglpk-dev libgsl-dev libmagick++-dev
RUN mkdir /spatialGE
WORKDIR /spatialGE
RUN Rscript -e "install.packages(c('systemfonts', 'ggforce', 'ggpubr', 'BiocManager', 'msigdbr', 'rgeos', 'hdf5r', 'remotes', 'openxlsx', 'svglite', 'rdist', 'magick', 'ggtext', 'lsa', 'uwot', 'ggplot2', 'dplyr', 'stringr', 'optparse'))"
RUN Rscript -e "BiocManager::install(c('EBImage', 'ComplexHeatmap', 'SpatialDecon', 'sparseMatrixStats', 'SummarizedExperiment', 'SingleCellExperiment'), update = TRUE, ask = FALSE)"
RUN Rscript -e "remotes::install_github(c('JEFworks-Lab/STdeconvolve', 'Nanostring-Biostats/InSituType', 'FridleyLab/spatialGE'))"
COPY ./* /spatialGE