Skip to content

Commit

Permalink
FIX: What
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Aug 26, 2024
1 parent 98e88bd commit b031d2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion base/Dockerfile.jupyter
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mnetools/mne-python

RUN pip install jupyterlab ipywidgets ipyvtklink
RUN conda install jupyterlab ipywidgets ipyvtklink

EXPOSE 8888

Expand Down
5 changes: 2 additions & 3 deletions base/Dockerfile.plot
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@ FROM mnetools/mne-python-jupyter
ENV DEBIAN_FRONTEND=noninteractive

# install xvfb
# TODO: Instead of qt6-default we should just install what's needed for Qt6
USER root
RUN apt-get update && \
apt-get install -y xvfb qt6-base-dev && \
apt-get install -y xvfb && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

USER $MNE_USER
WORKDIR $HOME_DIR

RUN pip install vtk pyvista pyvistaqt trame PyQt6
RUN conda install vtk pyvista pyvistaqt trame PySide6 qtpy

# setup environment for mne
# MNE_3D_OPTION_ANTIALIAS is needed to avoid blank screenshots.
Expand Down
3 changes: 1 addition & 2 deletions notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ RUN apt-get install -yq --no-install-recommends \
xvfb \
x11-utils \
libx11-dev \
qt6-base-dev \
&& apt-get clean

ENV DISPLAY=:99
Expand Down Expand Up @@ -50,7 +49,7 @@ RUN conda install --yes \
pytest \
ipyevents \
ipywidgets \
pyqt6 \
pyside6 \
xvfbwrapper \
&& jupyter labextension install @jupyter-widgets/jupyterlab-manager [email protected] \
&& conda clean -tipy \
Expand Down

0 comments on commit b031d2b

Please sign in to comment.