Skip to content

Commit

Permalink
🙉
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig authored Sep 30, 2024
1 parent 25e4531 commit a5c902b
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Choose any ubuntu-based Jupyter image, e.g.:
FROM quay.io/jupyter/minimal-notebook

# Install R, RStudio on any Ubuntu LTS
USER root

# Install R
RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_r.sh | bash

## RStudio
RUN conda install jupyter-rsession-proxy
RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_r.sh | bash
RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_rstudio.sh | bash

COPY environment.yml environment.yml
RUN conda env update -f environment.yml

# When run as root, install.r automagically handles any necessary apt-gets
COPY install.r install.r
RUN Rscript install.r

USER ${NB_USER}

COPY environment.yml environment.yml
RUN conda env update -f environment.yml

0 comments on commit a5c902b

Please sign in to comment.