Skip to content

Commit a5c902b

Browse files
authored
🙉
1 parent 25e4531 commit a5c902b

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

Dockerfile

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1+
# Choose any ubuntu-based Jupyter image, e.g.:
12
FROM quay.io/jupyter/minimal-notebook
23

4+
# Install R, RStudio on any Ubuntu LTS
35
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
106
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
118

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
1510
COPY install.r install.r
1611
RUN Rscript install.r
1712

1813
USER ${NB_USER}
19-
14+
COPY environment.yml environment.yml
15+
RUN conda env update -f environment.yml

0 commit comments

Comments
 (0)