-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile.prod
97 lines (89 loc) · 1.71 KB
/
Dockerfile.prod
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
FROM rocker/geospatial:4.2
# Tidyverse system requirements
RUN apt-get update -qq && apt-get -y --no-install-recommends install \
libxml2-dev \
libcairo2-dev \
libgit2-dev \
default-libmysqlclient-dev \
libpq-dev \
libsasl2-dev \
libsqlite3-dev \
libssh2-1-dev \
unixodbc-dev && \
rm -rf /var/lib/apt/lists/*
# Install imports
RUN install2.r --error --skipinstalled \
config \
dplyr \
git2r \
googleAuthR \
googleCloudStorageR \
googledrive \
httr \
jsonlite \
logger \
lubridate \
magrittr \
purrr \
RCurl \
readr \
stringr \
tibble \
tidyr \
rlang \
googlesheets4 \
httr2
# Install suggests
RUN install2.r --error --skipinstalled \
covr \
pkgdown \
sessioninfo \
testthat \
roxygen2 \
tidyselect \
textclean \
dataverse \
rmarkdown \
geosphere \
broom \
zoo \
kableExtra \
ggplot2 \
bookdown \
cowplot \
broom \
ggpubr \
furrr \
future \
univOutl \
taxize \
tinytest \
remotes \
tidytext \
zip \
leaflet \
htmltools \
Amelia \
mice \
blastula \
glue \
mime \
janitor \
reactable \
reactablefmtr \
kableExtra \
reticulate \
apexcharter \
ggforce \
treemapify \
sf
# Install specific version of rfishbase
RUN Rscript -e 'install.packages("rfishbase", repos="https://cran.rstudio.com/", dependencies = TRUE)'
# Install GitHub packages
RUN installGithub.r hrbrmstr/ggchicklet
RUN installGithub.r glmmTMB/glmmTMB/glmmTMB
# Install local package
COPY . /home
WORKDIR /home
RUN Rscript -e 'remotes::install_local(dependencies = TRUE)'
ENTRYPOINT ["Rscript"]