diff --git a/docker-compose/lofar-jupyter/Dockerfile b/docker-compose/lofar-jupyter/Dockerfile index 69ddeadd6b1aa1f65c97107229001a77ea0544b1..849f5ff3adde0acbf9a8bbec3d7c4a60a9551c70 100644 --- a/docker-compose/lofar-jupyter/Dockerfile +++ b/docker-compose/lofar-jupyter/Dockerfile @@ -2,8 +2,14 @@ ARG VERSION=latest FROM lofar-itango:${VERSION} RUN pip3 install jupyter +RUN pip3 install ipykernel +RUN pip3 install jupyter_bokeh -RUN pip3 install ipykernel bokeh +# Configure jupyter_bokeh +RUN sudo mkdir -p /usr/share/jupyter /usr/etc +RUN sudo chmod a+rwx /usr/share/jupyter /usr/etc +RUN jupyter nbextension install --sys-prefix --symlink --py jupyter_bokeh +RUN jupyter nbextension enable jupyter_bokeh --py --sys-prefix # Install profiles for ipython & jupyter COPY ipython-profiles /opt/ipython-profiles/ diff --git a/docker-compose/lofar-jupyter/ipython-profiles/stationcontrol-jupyter/startup/00-tango.py b/docker-compose/lofar-jupyter/ipython-profiles/stationcontrol-jupyter/startup/00-tango.py index 4a0512c74a70bffcc5c19ef977c1149f32064a1e..38fcb84c3417c6b19d89527be6f8122bd0249765 100644 --- a/docker-compose/lofar-jupyter/ipython-profiles/stationcontrol-jupyter/startup/00-tango.py +++ b/docker-compose/lofar-jupyter/ipython-profiles/stationcontrol-jupyter/startup/00-tango.py @@ -1 +1 @@ -import tango +from tango import * diff --git a/docker-compose/lofar-jupyter/ipython-profiles/stationcontrol-jupyter/startup/99-final.py b/docker-compose/lofar-jupyter/ipython-profiles/stationcontrol-jupyter/startup/99-final.py deleted file mode 100644 index 810f2e562342d7279d5befcdd96e505fe6213335..0000000000000000000000000000000000000000 --- a/docker-compose/lofar-jupyter/ipython-profiles/stationcontrol-jupyter/startup/99-final.py +++ /dev/null @@ -1 +0,0 @@ -print("Kernel configured succesfully")