File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change
1
+ # Choose any ubuntu-based Jupyter image, e.g.:
1
2
FROM quay.io/jupyter/minimal-notebook
2
3
4
+ # Install R, RStudio on any Ubuntu LTS
3
5
USER root
4
-
5
- # Install R
6
- RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_r.sh | bash
7
-
8
- # # RStudio
9
- RUN conda install jupyter-rsession-proxy
10
6
RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_r.sh | bash
7
+ RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_rstudio.sh | bash
11
8
12
- COPY environment.yml environment.yml
13
- RUN conda env update -f environment.yml
14
-
9
+ # When run as root, install.r automagically handles any necessary apt-gets
15
10
COPY install.r install.r
16
11
RUN Rscript install.r
17
12
18
13
USER ${NB_USER}
19
-
14
+ COPY environment.yml environment.yml
15
+ RUN conda env update -f environment.yml
You can’t perform that action at this time.
0 commit comments