Merge pull request #1691 from mathbunnyru/asalikhov/better_arm_datascience

Better arm image for datascience-notebook
This commit is contained in:
Ayaz Salikhov
2022-05-02 09:54:06 +03:00
committed by GitHub
2 changed files with 4 additions and 5 deletions

View File

@@ -75,23 +75,23 @@ RUN mamba install --quiet --yes \
'r-nycflights13' \
'r-randomforest' \
'r-rcurl' \
'r-rmarkdown' \
'r-rodbc' \
'r-rsqlite' \
'r-shiny' \
'r-tidyverse' \
'rpy2' \
'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
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}"; \

View File

@@ -52,7 +52,6 @@ RUN mamba install --quiet --yes \
fix-permissions "/home/${NB_USER}"
# `r-tidymodels` is not easy to install under arm
# hadolint ignore=SC2039
RUN set -x && \
arch=$(uname -m) && \
if [ "${arch}" == "x86_64" ]; then \