A container for data science things.
Based on the jupyter/datascience-notebook.
Use a run label
podman container runlabel -n jupyter run ghcr.io/lysogeny/jupyter-ds-base:masterOr manually
podman run --rm \
-v "${PWD}":/home/jovyan/work:Z \
--name jupyter \
-p 8888:8888 \
--userns=keep-id:uid=1000,gid=100 \
ghcr.io/lysogeny/jupyter-ds-base:masterBuild the image and run the container
podman build -f base/Containerfile -t extended-jupyter
podman run --rm \
-v "${PWD}":/home/jovyan/work \
--name jupyter \
-p 8888:8888 \
--userns=keep-id:uid=1000,gid=100 \
extended-jupyterSince this builds on the jupyter/datascience-notebook:
- Jupyter Lab
- Python with common packages (
matplotlib,pandas,numpy, ...) - R with common packages (
tidyverse) - Julia with some packages
Additionally:
jupyter-lspPlugin for LSP supportLanguageServer.jl,r-languageserverandpyrightlanguage serversjupyter_vimfor vim-like key bindsjupyterlab_execute_timefor cell execution times
Additional Julia packages:
CSV.jlDataFrames.jlDataFramesMeta.jlPlots.jlStatsPlots.jl
To layer this you may want to do something like this
FROM ghcr.io/lysogeny/jupyter-ds-base:master
USER ${NB_USER}
RUN mamba install -c conda_forge scanpy
RUN julia -e 'using Pkg; Pkg.add("DifferentialEquations"); Pkg.precompile()'