Exclude rpy2 from installing on aarch64

This commit is contained in:
Ayaz Salikhov
2022-07-05 22:23:13 +04:00
parent de90850c1c
commit 8e059fd6c2

View File

@@ -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}" && \