mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-15 14:02:58 +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-rodbc' \
|
||||||
'r-rsqlite' \
|
'r-rsqlite' \
|
||||||
'r-shiny' \
|
'r-shiny' \
|
||||||
|
'r-tidymodels' \
|
||||||
'r-tidyverse' \
|
'r-tidyverse' \
|
||||||
'rpy2' \
|
'rpy2' \
|
||||||
'unixodbc' && \
|
'unixodbc' && \
|
||||||
@@ -86,17 +87,6 @@ RUN mamba install --quiet --yes \
|
|||||||
fix-permissions "${CONDA_DIR}" && \
|
fix-permissions "${CONDA_DIR}" && \
|
||||||
fix-permissions "/home/${NB_USER}"
|
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.
|
# Add Julia packages.
|
||||||
# Install IJulia as jovyan and then move the kernelspec out
|
# Install IJulia as jovyan and then move the kernelspec out
|
||||||
# to the system share location. Avoids problems with runtime UID change not
|
# to the system share location. Avoids problems with runtime UID change not
|
||||||
|
@@ -45,19 +45,9 @@ RUN mamba install --quiet --yes \
|
|||||||
'r-rodbc' \
|
'r-rodbc' \
|
||||||
'r-rsqlite' \
|
'r-rsqlite' \
|
||||||
'r-shiny' \
|
'r-shiny' \
|
||||||
|
'r-tidymodels' \
|
||||||
'r-tidyverse' \
|
'r-tidyverse' \
|
||||||
'unixodbc' && \
|
'unixodbc' && \
|
||||||
mamba clean --all -f -y && \
|
mamba clean --all -f -y && \
|
||||||
fix-permissions "${CONDA_DIR}" && \
|
fix-permissions "${CONDA_DIR}" && \
|
||||||
fix-permissions "/home/${NB_USER}"
|
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