mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 15:32: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-rsqlite' \
|
||||||
'r-shiny' \
|
'r-shiny' \
|
||||||
'r-tidyverse' \
|
'r-tidyverse' \
|
||||||
'rpy2' \
|
|
||||||
'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
|
# `rpy2` and `r-tidymodels` are not easy to install under aarch64
|
||||||
RUN set -x && \
|
RUN set -x && \
|
||||||
arch=$(uname -m) && \
|
arch=$(uname -m) && \
|
||||||
if [ "${arch}" == "x86_64" ]; then \
|
if [ "${arch}" == "x86_64" ]; then \
|
||||||
mamba install --quiet --yes \
|
mamba install --quiet --yes \
|
||||||
|
'rpy2' \
|
||||||
'r-tidymodels' && \
|
'r-tidymodels' && \
|
||||||
mamba clean --all -f -y && \
|
mamba clean --all -f -y && \
|
||||||
fix-permissions "${CONDA_DIR}" && \
|
fix-permissions "${CONDA_DIR}" && \
|
||||||
|
Reference in New Issue
Block a user