Skip to content
Snippets Groups Projects
Commit 0d5ce96a authored by calrama's avatar calrama
Browse files

[jupyterhub] add R and IRkernel

parent df9b8f49
No related branches found
No related tags found
No related merge requests found
Pipeline #32954 passed
...@@ -92,7 +92,17 @@ RUN apt-get update && \ ...@@ -92,7 +92,17 @@ RUN apt-get update && \
apt-get clean && \ apt-get clean && \
python${PYTHON_VERSION} -m pip install jupyterlab_latex && \ python${PYTHON_VERSION} -m pip install jupyterlab_latex && \
jupyter labextension install @jupyterlab/latex jupyter labextension install @jupyterlab/latex
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \
add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu/ bionic-cran40/' && \
apt-get update && \
apt-get install -y r-base r-base-html && \
apt-get clean
RUN R -e "install.packages('IRkernel')" && \
R -e "IRkernel::installspec(user = FALSE)" && \
jupyter labextension install @techrah/text-shortcuts
RUN chmod -x /etc/update-motd.d/* RUN chmod -x /etc/update-motd.d/*
WORKDIR "${HOME}" WORKDIR "${HOME}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment