Skip to content

Commit

Permalink
Exclude rpy2 from installing on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Jul 5, 2022
1 parent de90850 commit 8e059fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datascience-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}" && \
Expand Down

0 comments on commit 8e059fd

Please sign in to comment.