Skip to content

Commit

Permalink
Install rpy2 on aarch64 as well (#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Feb 8, 2023
1 parent 566e2d2 commit 1dc312a
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}"

# `rpy2` and `r-tidymodels` are not easy to install under aarch64
# `r-tidymodels` is 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 1dc312a

Please sign in to comment.