forked from akmontoya/deepnote-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (21 loc) · 1.16 KB
/
Dockerfile
File metadata and controls
26 lines (21 loc) · 1.16 KB
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
FROM rocker/shiny-verse:4.0.4
# Install Jupyter
RUN /rocker_scripts/install_python.sh
RUN pip3 install --no-cache-dir jupyter
# Install R kernel and set as default
RUN sudo Rscript -e "install.packages(c('IRkernel'), repos='https://cran.rstudio.com/')"
RUN sudo Rscript -e "IRkernel::installspec()"
ENV DEFAULT_KERNEL_NAME=ir
# Fix plot sizes
RUN sudo Rscript -e "install.packages('repr', repos='http://cran.rstudio.com/')"
RUN echo 'options(repr.plot.width = 4, repr.plot.height = 4)' > ~/.Rprofile
# Install other packages
RUN sudo Rscript -e "install.packages(c('psych', 'simstudy'), repos='http://cran.rstudio.com/')"
RUN sudo Rscript -e "install.packages(c('lme4'), repos='http://cran.rstudio.com/')"
RUN sudo Rscript -e "install.packages(c('car'), repos='http://cran.rstudio.com/')"
RUN sudo Rscript -e "install.packages(c('OCSdata'), repos='http://cran.rstudio.com/')"
# Install CourseKata packages
RUN sudo Rscript -e "install.packages('remotes', repos='http://cran.rstudio.com/')"
RUN sudo Rscript -e "remotes::install_github('UCLATALL/coursekata-r')"
RUN sudo Rscript -e "coursekata::coursekata_install()"
RUN sudo Rscript -e "remotes::install_github('UCLATALL/supernova')"