From e5f90bb4d688d860b80a4d8f5bfbba62f5fcf43f Mon Sep 17 00:00:00 2001 From: Eleni Mathioulaki <emathioulaki@athenarc.gr> Date: Fri, 21 Mar 2025 03:16:43 +0000 Subject: [PATCH] update base image switch to latest stable image (Ubuntu 24.04, Python 3.11, R 4.3.3) --- base/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index c0c7181..5b56737 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -1,5 +1,5 @@ # 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 -- GitLab