File tree Expand file tree Collapse file tree 3 files changed +27
-7
lines changed Expand file tree Collapse file tree 3 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ OWNER?=jupyter
14
14
MULTI_IMAGES: = \
15
15
base-notebook \
16
16
minimal-notebook \
17
+ r-notebook \
17
18
scipy-notebook \
18
19
pyspark-notebook \
19
20
all-spark-notebook
20
21
# Images that can only be built on the amd64 architecture (aka. x86_64)
21
22
AMD64_ONLY_IMAGES: = \
22
- r-notebook \
23
23
datascience-notebook \
24
24
tensorflow-notebook
25
25
# All of the images
Original file line number Diff line number Diff line change @@ -74,18 +74,28 @@ RUN mamba install --quiet --yes \
74
74
'r-nycflights13' \
75
75
'r-randomforest' \
76
76
'r-rcurl' \
77
- 'r-rmarkdown' \
78
77
'r-rodbc' \
79
78
'r-rsqlite' \
80
79
'r-shiny' \
81
- 'r-tidymodels' \
82
- 'r-tidyverse' \
83
80
'rpy2' \
84
81
'unixodbc' && \
85
82
mamba clean --all -f -y && \
86
83
fix-permissions "${CONDA_DIR}" && \
87
84
fix-permissions "/home/${NB_USER}"
88
85
86
+ # These packages are not easy to install under arm
87
+ RUN set -x && \
88
+ arch=$(uname -m) && \
89
+ if [ "${arch}" == "x86_64" ]; then \
90
+ mamba install --quiet --yes \
91
+ 'r-rmarkdown' \
92
+ 'r-tidymodels' \
93
+ 'r-tidyverse' && \
94
+ mamba clean --all -f -y && \
95
+ fix-permissions "${CONDA_DIR}" && \
96
+ fix-permissions "/home/${NB_USER}" ; \
97
+ fi;
98
+
89
99
# Add Julia packages.
90
100
# Install IJulia as jovyan and then move the kernelspec out
91
101
# to the system share location. Avoids problems with runtime UID change not
Original file line number Diff line number Diff line change @@ -40,13 +40,23 @@ RUN mamba install --quiet --yes \
40
40
'r-nycflights13' \
41
41
'r-randomforest' \
42
42
'r-rcurl' \
43
- 'r-rmarkdown' \
44
43
'r-rodbc' \
45
44
'r-rsqlite' \
46
45
'r-shiny' \
47
- 'r-tidymodels' \
48
- 'r-tidyverse' \
49
46
'unixodbc' && \
50
47
mamba clean --all -f -y && \
51
48
fix-permissions "${CONDA_DIR}" && \
52
49
fix-permissions "/home/${NB_USER}"
50
+
51
+ # These packages are not easy to install under arm
52
+ RUN set -x && \
53
+ arch=$(uname -m) && \
54
+ if [ "${arch}" == "x86_64" ]; then \
55
+ mamba install --quiet --yes \
56
+ 'r-rmarkdown' \
57
+ 'r-tidymodels' \
58
+ 'r-tidyverse' && \
59
+ mamba clean --all -f -y && \
60
+ fix-permissions "${CONDA_DIR}" && \
61
+ fix-permissions "/home/${NB_USER}" ; \
62
+ fi;
You can’t perform that action at this time.
0 commit comments