From b412178ef613512fd2a20ed924c6765f2ff79e69 Mon Sep 17 00:00:00 2001 From: Kieran O'Neill Date: Tue, 5 Mar 2024 11:38:01 -0800 Subject: [PATCH] Update jupyter.Dockerfile --- container/jupyter.Dockerfile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/container/jupyter.Dockerfile b/container/jupyter.Dockerfile index 61529a4..f7d970d 100644 --- a/container/jupyter.Dockerfile +++ b/container/jupyter.Dockerfile @@ -2,10 +2,18 @@ FROM jupyter/base-notebook + + +# must reset to user root to install packages +USER root + # Install Arial font and co: -RUN sudo apt install font-manager -RUN sudo apt install msttcorefonts -qq +RUN apt-get update && apt-get install -y font-manager \ + msttcorefonts && \ + apt-get autoclean && rm -rf /var/lib/apt/lists/* +# set the user back to original setting +USER $NB_UID # Install any additional dependencies you need # For example, if you use Python notebooks, you might want to install additional packages: