Skip to content

Commit cde8b43

Browse files
authored
Install r-tidymodels on aarch64 images (#1879)
1 parent 0baeda6 commit cde8b43

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

datascience-notebook/Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,14 @@ RUN mamba install --quiet --yes \
7979
'r-rodbc' \
8080
'r-rsqlite' \
8181
'r-shiny' \
82+
'r-tidymodels' \
8283
'r-tidyverse' \
8384
'rpy2' \
8485
'unixodbc' && \
8586
mamba clean --all -f -y && \
8687
fix-permissions "${CONDA_DIR}" && \
8788
fix-permissions "/home/${NB_USER}"
8889

89-
# `r-tidymodels` is not easy to install under aarch64
90-
RUN set -x && \
91-
arch=$(uname -m) && \
92-
if [ "${arch}" == "x86_64" ]; then \
93-
mamba install --quiet --yes \
94-
'r-tidymodels' && \
95-
mamba clean --all -f -y && \
96-
fix-permissions "${CONDA_DIR}" && \
97-
fix-permissions "/home/${NB_USER}"; \
98-
fi;
99-
10090
# Add Julia packages.
10191
# Install IJulia as jovyan and then move the kernelspec out
10292
# to the system share location. Avoids problems with runtime UID change not

r-notebook/Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,9 @@ RUN mamba install --quiet --yes \
4545
'r-rodbc' \
4646
'r-rsqlite' \
4747
'r-shiny' \
48+
'r-tidymodels' \
4849
'r-tidyverse' \
4950
'unixodbc' && \
5051
mamba clean --all -f -y && \
5152
fix-permissions "${CONDA_DIR}" && \
5253
fix-permissions "/home/${NB_USER}"
53-
54-
# `r-tidymodels` is not easy to install under arm
55-
RUN set -x && \
56-
arch=$(uname -m) && \
57-
if [ "${arch}" == "x86_64" ]; then \
58-
mamba install --quiet --yes \
59-
'r-tidymodels' && \
60-
mamba clean --all -f -y && \
61-
fix-permissions "${CONDA_DIR}" && \
62-
fix-permissions "/home/${NB_USER}"; \
63-
fi;

0 commit comments

Comments
 (0)