Skip to content
Snippets Groups Projects
Commit e5f90bb4 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

update base image

switch to latest stable image (Ubuntu 24.04, Python 3.11, R 4.3.3)
parent f360cd79
No related branches found
No related tags found
No related merge requests found
# https://jupyter-docker-stacks.readthedocs.io/en/latest/#using-old-images
FROM jupyter/minimal-notebook:a374cab4fcb6
FROM quay.io/jupyter/minimal-notebook:b74418220768
LABEL maintainer="Collaboratory Platform <platform@humanbrainproject.eu>"
......@@ -18,7 +18,7 @@ USER root
RUN ln -sf /usr/share/zoneinfo/Europe/Zurich /etc/localtime
# Set to noninteractive for install
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update --yes && \
apt-get install --yes \
cmake \
......@@ -66,14 +66,14 @@ RUN jupyter labextension install --no-build \
RUN jupyter lab build
RUN jupyter notebook --generate-config
RUN mkdir -p /opt/app-root/src/.ipython/profile_default/startup/ /opt/app-root/src/.local/lib/python3.8/site-packages/ /tmp/cache/
RUN mkdir -p /opt/app-root/src/.ipython/profile_default/startup/ /tmp/cache/
# Preload clb_oauth
RUN echo 'from clb_nb_utils import oauth as clb_oauth' >> /opt/app-root/src/.ipython/profile_default/startup/50-clb-nb-utils.py
# install R kernel
RUN R --slave -e "install.packages('IRkernel')"
RUN R --slave -e "IRkernel::installspec(name = 'ir363', displayname = 'R 3.6.3')"
RUN R --slave -e "IRkernel::installspec(name = 'ir', displayname = 'R 4.3.3')"
# disable core dumps
RUN echo "* - core 0" >> /etc/security/limits.conf
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment