diff --git a/images/java-notebook/Dockerfile b/images/java-notebook/Dockerfile new file mode 100644 index 0000000..e77d367 --- /dev/null +++ b/images/java-notebook/Dockerfile @@ -0,0 +1,17 @@ +ARG IMAGE_SOURCE=ghcr.io/digiklausur/docker-stacks/minimal-notebook:latest +FROM $IMAGE_SOURCE + +LABEL maintainer="e2x project H-BRS " +LABEL description="e2x java notebook" + + +USER $NB_USER + +RUN pip install --no-cache-dir git+https://github.com/digiklausur/java_syntax_kernel.git@main && \ + python -m java_syntax_kernel.install --sys-prefix && \ + jupyter kernelspec remove python3 -f && \ + echo c.KernelSpecManager.ensure_native_kernel = False >> /etc/jupyter/jupyter_notebook_config.py && \ + echo c.NotebookApp.terminals_enabled = False >> /etc/jupyter/jupyter_notebook_config.py && \ + jupyter nbextension list && \ + jupyter kernelspec list +