Skip to content

Commit

Permalink
Bryan update r 4.4.1 (#742)
Browse files Browse the repository at this point in the history
* feat: R 4.4.2

* feat: R 4.4.2

* feat: R 4.4.2

* feat: R 4.4.2

* feat: R 4.4.2

* feat: R 4.4.1

* feat: revert to older rstudio-server

* Update 6_rstudio-server.Dockerfile

---------

Co-authored-by: Paget, Bryan (StatCan) <[email protected]>
  • Loading branch information
bryanpaget and Paget, Bryan (StatCan) authored Jan 30, 2025
1 parent 9ba95d0 commit ec0aa3f
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 6 deletions.
10 changes: 9 additions & 1 deletion docker-bits/6_rstudio.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ ENV PATH=$PATH:/usr/lib/rstudio-server/bin
ENV SPARK_HOME="/opt/conda/lib/python3.11/site-packages/pyspark"

# Install some default R packages
RUN mamba install --quiet --yes \
# rpy2 is installed by upstream, I don't know if anyone uses it.
# ryp2 was causing problems with R 4.4.1, so I removed it from the
# mamba install. rpy2 is reinstalled with pip below.
# when we next upgrade R, let's try to restore rpy2 to its original state
# which means just remove mamba remove rpy2 and remove pip install rpy2
RUN mamba remove rpy2 && \
mamba install --quiet --yes \
'r-arrow' \
'r-aws.s3' \
'r-base=4.4.1' \
'r-catools' \
'r-e1071' \
'r-hdf5r' \
Expand All @@ -29,6 +36,7 @@ RUN mamba install --quiet --yes \
'r-sparklyr' \
'r-tidyverse' \
&& \
pip install rpy2 && \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
Expand Down
10 changes: 9 additions & 1 deletion output/jupyterlab-cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,16 @@ ENV PATH=$PATH:/usr/lib/rstudio-server/bin
ENV SPARK_HOME="/opt/conda/lib/python3.11/site-packages/pyspark"

# Install some default R packages
RUN mamba install --quiet --yes \
# rpy2 is installed by upstream, I don't know if anyone uses it.
# ryp2 was causing problems with R 4.4.1, so I removed it from the
# mamba install. rpy2 is reinstalled with pip below.
# when we next upgrade R, let's try to restore rpy2 to its original state
# which means just remove mamba remove rpy2 and remove pip install rpy2
RUN mamba remove rpy2 && \
mamba install --quiet --yes \
'r-arrow' \
'r-aws.s3' \
'r-base=4.4.1' \
'r-catools' \
'r-e1071' \
'r-hdf5r' \
Expand All @@ -266,6 +273,7 @@ RUN mamba install --quiet --yes \
'r-sparklyr' \
'r-tidyverse' \
&& \
pip install rpy2 && \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
Expand Down
10 changes: 9 additions & 1 deletion output/jupyterlab-pytorch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,16 @@ ENV PATH=$PATH:/usr/lib/rstudio-server/bin
ENV SPARK_HOME="/opt/conda/lib/python3.11/site-packages/pyspark"

# Install some default R packages
RUN mamba install --quiet --yes \
# rpy2 is installed by upstream, I don't know if anyone uses it.
# ryp2 was causing problems with R 4.4.1, so I removed it from the
# mamba install. rpy2 is reinstalled with pip below.
# when we next upgrade R, let's try to restore rpy2 to its original state
# which means just remove mamba remove rpy2 and remove pip install rpy2
RUN mamba remove rpy2 && \
mamba install --quiet --yes \
'r-arrow' \
'r-aws.s3' \
'r-base=4.4.1' \
'r-catools' \
'r-e1071' \
'r-hdf5r' \
Expand All @@ -288,6 +295,7 @@ RUN mamba install --quiet --yes \
'r-sparklyr' \
'r-tidyverse' \
&& \
pip install rpy2 && \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
Expand Down
10 changes: 9 additions & 1 deletion output/jupyterlab-tensorflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,16 @@ ENV PATH=$PATH:/usr/lib/rstudio-server/bin
ENV SPARK_HOME="/opt/conda/lib/python3.11/site-packages/pyspark"

# Install some default R packages
RUN mamba install --quiet --yes \
# rpy2 is installed by upstream, I don't know if anyone uses it.
# ryp2 was causing problems with R 4.4.1, so I removed it from the
# mamba install. rpy2 is reinstalled with pip below.
# when we next upgrade R, let's try to restore rpy2 to its original state
# which means just remove mamba remove rpy2 and remove pip install rpy2
RUN mamba remove rpy2 && \
mamba install --quiet --yes \
'r-arrow' \
'r-aws.s3' \
'r-base=4.4.1' \
'r-catools' \
'r-e1071' \
'r-hdf5r' \
Expand All @@ -395,6 +402,7 @@ RUN mamba install --quiet --yes \
'r-sparklyr' \
'r-tidyverse' \
&& \
pip install rpy2 && \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
Expand Down
10 changes: 9 additions & 1 deletion output/rstudio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,16 @@ ENV PATH=$PATH:/usr/lib/rstudio-server/bin
ENV SPARK_HOME="/opt/conda/lib/python3.11/site-packages/pyspark"

# Install some default R packages
RUN mamba install --quiet --yes \
# rpy2 is installed by upstream, I don't know if anyone uses it.
# ryp2 was causing problems with R 4.4.1, so I removed it from the
# mamba install. rpy2 is reinstalled with pip below.
# when we next upgrade R, let's try to restore rpy2 to its original state
# which means just remove mamba remove rpy2 and remove pip install rpy2
RUN mamba remove rpy2 && \
mamba install --quiet --yes \
'r-arrow' \
'r-aws.s3' \
'r-base=4.4.1' \
'r-catools' \
'r-e1071' \
'r-hdf5r' \
Expand All @@ -266,6 +273,7 @@ RUN mamba install --quiet --yes \
'r-sparklyr' \
'r-tidyverse' \
&& \
pip install rpy2 && \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
Expand Down
10 changes: 9 additions & 1 deletion output/sas/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,16 @@ ENV PATH=$PATH:/usr/lib/rstudio-server/bin
ENV SPARK_HOME="/opt/conda/lib/python3.11/site-packages/pyspark"

# Install some default R packages
RUN mamba install --quiet --yes \
# rpy2 is installed by upstream, I don't know if anyone uses it.
# ryp2 was causing problems with R 4.4.1, so I removed it from the
# mamba install. rpy2 is reinstalled with pip below.
# when we next upgrade R, let's try to restore rpy2 to its original state
# which means just remove mamba remove rpy2 and remove pip install rpy2
RUN mamba remove rpy2 && \
mamba install --quiet --yes \
'r-arrow' \
'r-aws.s3' \
'r-base=4.4.1' \
'r-catools' \
'r-e1071' \
'r-hdf5r' \
Expand All @@ -426,6 +433,7 @@ RUN mamba install --quiet --yes \
'r-sparklyr' \
'r-tidyverse' \
&& \
pip install rpy2 && \
clean-layer.sh && \
fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER
Expand Down

0 comments on commit ec0aa3f

Please sign in to comment.