-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
28 lines (25 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
24
25
26
27
28
FROM rapporteket/dev:nightly
LABEL maintainer "Are Edvardsen <are.edvardsen@helse-nord.no>"
ARG GH_PAT
ENV GITHUB_PAT=${GH_PAT}
# add registry dev config and R pkg dependencies
COPY --chown=rstudio:rstudio db.yml /home/rstudio/rap_config/
RUN cat /home/rstudio/rap_config/db.yml >> /home/rstudio/rap_config/dbConfig.yml \
&& rm /home/rstudio/rap_config/db.yml \
&& R -e "install.packages(c('covr', \
'dplyr', \
'ggplot2', \
'kableExtra', \
'knitr', \
'lintr', \
'lubridate', \
'magrittr', \
'rlang', \
'shiny', \
'shinyalert', \
'shinyjs', \
'testthat', \
'xtable'))" \
&& R -e "remotes::install_github(c('Rapporteket/rapbase@*release', \
'Rapporteket/rapFigurer', \
'Rapporteket/raplog'))"