Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doku:jupyterhub [2023/04/03 08:42] katrindoku:jupyterhub [2023/11/14 13:51] (current) – [Necessary Packages] katrin
Line 91: Line 91:
   * jupyterlab-system-monitor   * jupyterlab-system-monitor
   * jupyterlab-git    * jupyterlab-git 
-  * jupyterlab-widgets+  * jupyterlab-widgets (or jupyterlab_widgets in conda)
  
 **An up 2 date list of packages can always be found in our repo: [[https://gitlab.tuwien.ac.at/vsc/jupyterhub/jupyterhub-docker-stacks/-/blob/main/tools/requirements.txt|requirements.txt]]** **An up 2 date list of packages can always be found in our repo: [[https://gitlab.tuwien.ac.at/vsc/jupyterhub/jupyterhub-docker-stacks/-/blob/main/tools/requirements.txt|requirements.txt]]**
Line 136: Line 136:
 BootStrap: docker BootStrap: docker
 From: jupyter/datascience-notebook:hub-3.1.1 From: jupyter/datascience-notebook:hub-3.1.1
 +
 %post %post
 /opt/conda/bin/pip install jupyterhub==3.1.1 git+https://github.com/katringoogoo/batchspawner.git@1.2.0+auth_fix                /opt/conda/bin/pip install jupyterhub==3.1.1 git+https://github.com/katringoogoo/batchspawner.git@1.2.0+auth_fix               
 </code> </code>
  
 +If we save the file as "my_image.def" we can use the build command to build the image with singularity/apptainer. 
  
 +Please not that you have to use apptainer if you want to build on the cluster, since the singularity version that comes installed on all nodes from the OS needs root rights to build an image.
 +
 +  * VSC4: module load --auto apptainer/1.1.9-gcc-12.2.0-vflkcfi
 +  * VSC5: module load --auto apptainer/1.1.6-gcc-12.2.0-xxfuqni
  
-If we save the file as "my_image.def" we can use the following commands to build the image with singularity 
  
 <code> <code>
-singularity build my_image.sif my_image.def+# load an apptainer module (see above) 
 +module load --auto apptainer/<version> 
 + 
 +# build the image 
 +apptainer build my_image.sif my_image.def
 </code> </code>
  
 +If you cannot use the versions provided on VSC you can of course also build the image on your own machine and upload it the VSC.
  
 ===== FAQ ===== ===== FAQ =====
  • doku/jupyterhub.1680511358.txt.gz
  • Last modified: 2023/04/03 08:42
  • by katrin