mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
Exclude rpy2 from installing on aarch64
This commit is contained in:
@@ -80,17 +80,17 @@ RUN mamba install --quiet --yes \
|
||||
'r-rsqlite' \
|
||||
'r-shiny' \
|
||||
'r-tidyverse' \
|
||||
'rpy2' \
|
||||
'unixodbc' && \
|
||||
mamba clean --all -f -y && \
|
||||
fix-permissions "${CONDA_DIR}" && \
|
||||
fix-permissions "/home/${NB_USER}"
|
||||
|
||||
# `r-tidymodels` is not easy to install under arm
|
||||
# `rpy2` and `r-tidymodels` are not easy to install under aarch64
|
||||
RUN set -x && \
|
||||
arch=$(uname -m) && \
|
||||
if [ "${arch}" == "x86_64" ]; then \
|
||||
mamba install --quiet --yes \
|
||||
'rpy2' \
|
||||
'r-tidymodels' && \
|
||||
mamba clean --all -f -y && \
|
||||
fix-permissions "${CONDA_DIR}" && \
|
||||
|
Reference in New Issue
Block a user