Skip to content

Commit

Permalink
Add notebook-server-rstudio-tidyverse dockerfile and CI/CD (kubeflow/…
Browse files Browse the repository at this point in the history
…kubeflow#5711)

* Add notebook-server-rstudio-tidyverse dockerfile and CI/CD

* cleanup rstudio tidyverse notebook image

Co-authored-by: Mathew Wicks <thesuperzapper@users.noreply.github.com>
  • Loading branch information
2 people authored and Adembc committed Jun 22, 2024
1 parent 77983b7 commit 569c6ec
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions notebooks/example-notebook-servers/rstudio-tidyverse/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM public.ecr.aws/j1r0q0g6/notebooks/notebook-servers/rstudio:master-15d229d4

# args - software versions
ARG R_TIDYVERSE_VERSION="1.3.0"

# switch to root user for conda installation
# (only necessary when installing r-tidyverse with Kaniko)
USER root

# install - r-tidyverse
RUN conda install -y -q \
r-tidyverse=${R_TIDYVERSE_VERSION} \
&& conda update -y -q --all \
&& conda clean -a -f -y \
&& chown -R ${NB_USER}:users ${CONDA_DIR} \
&& chown -R ${NB_USER}:users ${HOME}

USER ${NB_USER}

0 comments on commit 569c6ec

Please sign in to comment.