mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-13 04:52:57 +00:00
Merge pull request #1454 from mathbunnyru/asalikhov/fix_r_installation
Build r-notebook under arm (again) and fix datascience-notebook build
This commit is contained in:
2
Makefile
2
Makefile
@@ -14,12 +14,12 @@ OWNER?=jupyter
|
||||
MULTI_IMAGES:= \
|
||||
base-notebook \
|
||||
minimal-notebook \
|
||||
r-notebook \
|
||||
scipy-notebook \
|
||||
pyspark-notebook \
|
||||
all-spark-notebook
|
||||
# Images that can only be built on the amd64 architecture (aka. x86_64)
|
||||
AMD64_ONLY_IMAGES:= \
|
||||
r-notebook \
|
||||
datascience-notebook \
|
||||
tensorflow-notebook
|
||||
# All of the images
|
||||
|
@@ -74,18 +74,28 @@ RUN mamba install --quiet --yes \
|
||||
'r-nycflights13' \
|
||||
'r-randomforest' \
|
||||
'r-rcurl' \
|
||||
'r-rmarkdown' \
|
||||
'r-rodbc' \
|
||||
'r-rsqlite' \
|
||||
'r-shiny' \
|
||||
'r-tidymodels' \
|
||||
'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
|
||||
RUN set -x && \
|
||||
arch=$(uname -m) && \
|
||||
if [ "${arch}" == "x86_64" ]; then \
|
||||
mamba install --quiet --yes \
|
||||
'r-rmarkdown' \
|
||||
'r-tidymodels' \
|
||||
'r-tidyverse' && \
|
||||
mamba clean --all -f -y && \
|
||||
fix-permissions "${CONDA_DIR}" && \
|
||||
fix-permissions "/home/${NB_USER}"; \
|
||||
fi;
|
||||
|
||||
# Add Julia packages.
|
||||
# Install IJulia as jovyan and then move the kernelspec out
|
||||
# to the system share location. Avoids problems with runtime UID change not
|
||||
|
@@ -40,13 +40,23 @@ RUN mamba install --quiet --yes \
|
||||
'r-nycflights13' \
|
||||
'r-randomforest' \
|
||||
'r-rcurl' \
|
||||
'r-rmarkdown' \
|
||||
'r-rodbc' \
|
||||
'r-rsqlite' \
|
||||
'r-shiny' \
|
||||
'r-tidymodels' \
|
||||
'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
|
||||
RUN set -x && \
|
||||
arch=$(uname -m) && \
|
||||
if [ "${arch}" == "x86_64" ]; then \
|
||||
mamba install --quiet --yes \
|
||||
'r-rmarkdown' \
|
||||
'r-tidymodels' \
|
||||
'r-tidyverse' && \
|
||||
mamba clean --all -f -y && \
|
||||
fix-permissions "${CONDA_DIR}" && \
|
||||
fix-permissions "/home/${NB_USER}"; \
|
||||
fi;
|
||||
|
Reference in New Issue
Block a user