mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-14 21:42:57 +00:00
Install r-tidymodels on aarch64 images (#1879)
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user