diff --git a/jupyterhub.docker b/jupyterhub.docker index ff3d689..3ddd57c 100644 --- a/jupyterhub.docker +++ b/jupyterhub.docker @@ -1,45 +1,48 @@ FROM debian:bullseye MAINTAINER Guillaume Anciaux ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 ## for apt to be noninteractive ENV DEBIAN_FRONTEND noninteractive ENV DEBCONF_NONINTERACTIVE_SEEN true RUN apt-get -qq update && apt-get install -y cmake cmake-curses-gui build-essential python3-dev libboost-dev libfftw3-dev libgsl-dev gfortran liblapack-dev libopenmpi-dev sharutils git doxygen graphviz python3-pip texlive-latex-base libmumps-dev libscotch-dev && apt -y clean && rm -rf /var/lib/apt/lists/* RUN apt-get -qq update && apt-get install -y xsltproc ccache bc libgtest-dev && apt -y clean && rm -rf /var/lib/apt/lists/* RUN apt-get -qq update && apt-get install -y libocct-data-exchange-dev libocct-foundation-dev libocct-modeling-algorithms-dev libocct-modeling-data-dev libocct-ocaf-dev && apt -y clean && rm -rf /var/lib/apt/lists/* RUN echo "\ deb http://deb.debian.org/debian testing main contrib non-free" >> /etc/apt/sources.list RUN echo " \ Package: * \ Pin: release a=stable \ Pin-Priority: 800 \ \ Package: * \ Pin: release a=testing \ Pin-Priority: 600 \ " >> /etc/apt/preferences.d/priorities RUN apt-get -qq update && apt-get install -t testing -y libgmsh-dev -RUN apt-get update && apt -y install nodejs npm git-lfs && apt -y clean && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt -y install nodejs npm git-lfs libgl1-mesa-glx xvfb imagemagick && apt -y clean && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt -y install python3-pip && apt -y clean && rm -rf /var/lib/apt/lists/* RUN pip3 install jupyterhub RUN npm install -g configurable-http-proxy -RUN pip3 install jupyterlab notebook jupyterlab-git numpy scipy sympy matplotlib pyvista gmsh akantu meshio pep8 tamaas +# RUN mkdir /repos && cd /repos && git clone https://github.com/InsightSoftwareConsortium/itkwidgets.git +# RUN cd /repos/itkwidgets && pip install -e . +RUN pip3 install jupyterlab notebook jupyterlab-git numpy scipy sympy matplotlib pyvista ipyvtklink itkwidgets gmsh akantu meshio pep8 tamaas RUN pip3 install git+https://gitlab.com/ganciaux/slides.git RUN pip3 install sphinx breathe sphinx-rtd-theme pytest scipy xmltodict meshio pep8 RUN pip3 install --upgrade setuptools wheel twine RUN mkdir -p /srv/jupyterhub/ WORKDIR /srv/jupyterhub/ RUN ln -sf /dev/stdout /var/log/jupytherhub.log RUN mkdir /etc/users && mv /etc/passwd /etc/users && mv /etc/group /etc/users -RUN ln -sf /etc/users/passwd /etc/passwd && ln -sf /etc/users/group /etc/group +RUN jupyter nbextension install --py itkwidgets +RUN jupyter nbextension enable itkwidgets --py CMD ["jupyterhub", "&>>" ,"/var/log/jupyterhub.log"] \ No newline at end of file