Skip to content

Commit

Permalink
Add java syntax notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
tmetzl committed Jan 27, 2025
1 parent 4b62a70 commit 6d2f1c0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions images/java-notebook/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ARG IMAGE_SOURCE=ghcr.io/digiklausur/docker-stacks/minimal-notebook:latest
FROM $IMAGE_SOURCE

LABEL maintainer="e2x project H-BRS <e2x@inf.h-brs.de>"
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

0 comments on commit 6d2f1c0

Please sign in to comment.