Skip to content

Commit

Permalink
Merge pull request #1592 from mathbunnyru/asalikhov/more_arm_packages
Browse files Browse the repository at this point in the history
Install more r packages for arm
  • Loading branch information
mathbunnyru authored Feb 2, 2022
2 parents 27c294a + 907e260 commit f7fbdf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions r-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ RUN mamba install --quiet --yes \
'r-nycflights13' \
'r-randomforest' \
'r-rcurl' \
'r-rmarkdown' \
'r-rodbc' \
'r-rsqlite' \
'r-shiny' \
'r-tidyverse' \
'unixodbc' && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

# These packages are not easy to install under arm
# `r-tidymodels` is not easy to install under arm
# hadolint ignore=SC2039
RUN set -x && \
arch=$(uname -m) && \
if [ "${arch}" == "x86_64" ]; then \
mamba install --quiet --yes \
'r-rmarkdown' \
'r-tidymodels' \
'r-tidyverse' && \
'r-tidymodels' && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"; \
Expand Down

0 comments on commit f7fbdf8

Please sign in to comment.