diff --git a/datascience-notebook/Dockerfile b/datascience-notebook/Dockerfile index 5f38bf2225..0cd32198d7 100644 --- a/datascience-notebook/Dockerfile +++ b/datascience-notebook/Dockerfile @@ -79,6 +79,7 @@ RUN mamba install --quiet --yes \ 'r-rodbc' \ 'r-rsqlite' \ 'r-shiny' \ + 'r-tidymodels' \ 'r-tidyverse' \ 'rpy2' \ 'unixodbc' && \ @@ -86,17 +87,6 @@ RUN mamba install --quiet --yes \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}" -# `r-tidymodels` is not easy to install under aarch64 -RUN set -x && \ - arch=$(uname -m) && \ - if [ "${arch}" == "x86_64" ]; then \ - mamba install --quiet --yes \ - 'r-tidymodels' && \ - mamba clean --all -f -y && \ - fix-permissions "${CONDA_DIR}" && \ - fix-permissions "/home/${NB_USER}"; \ - fi; - # Add Julia packages. # Install IJulia as jovyan and then move the kernelspec out # to the system share location. Avoids problems with runtime UID change not diff --git a/r-notebook/Dockerfile b/r-notebook/Dockerfile index 3319a802b3..5f939f3d6e 100644 --- a/r-notebook/Dockerfile +++ b/r-notebook/Dockerfile @@ -45,19 +45,9 @@ RUN mamba install --quiet --yes \ 'r-rodbc' \ 'r-rsqlite' \ 'r-shiny' \ + 'r-tidymodels' \ 'r-tidyverse' \ 'unixodbc' && \ mamba clean --all -f -y && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}" - -# `r-tidymodels` is not easy to install under arm -RUN set -x && \ - arch=$(uname -m) && \ - if [ "${arch}" == "x86_64" ]; then \ - mamba install --quiet --yes \ - 'r-tidymodels' && \ - mamba clean --all -f -y && \ - fix-permissions "${CONDA_DIR}" && \ - fix-permissions "/home/${NB_USER}"; \ - fi;