-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase.Dockerfile
37 lines (34 loc) · 1.01 KB
/
base.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
29
30
31
32
33
34
35
36
37
# Dockerfile containing system libraries and R packages for TIL-align.
#
# This is separated into a separate Dockerfile because it can take 5 hours to build
# for ARM64 (using qemu emulation on an AMD64 build platform). This part of the Docker
# image remains constant, so it is in its own Dockerfile and is used as a base image
# for the TIL-align Docker image.
FROM rocker/r-ver:4.2.1
RUN apt-get update \
&& apt-get install -yq --no-install-recommends \
cmake \
libcurl4-openssl-dev \
libproj15 \
libgdal-dev \
pandoc \
texlive \
lmodern \
texlive-latex-extra \
&& rm -rf /var/lib/apt/lists/*
RUN install2.r --error --skipinstalled --ncpus 4 \
abind \
curl \
plyr \
dplyr \
ggplot2 \
ggpubr \
survival \
survminer \
readr \
raster \
terra \
rmarkdown \
rjson \
&& rm -rf /tmp/downloaded_packages \
&& strip /usr/local/lib/R/site-library/*/libs/*.so