add novnc && pyqt6

This commit is contained in:
ben0i0d 2024-05-19 18:53:55 +08:00
parent 38ef043183
commit 4bf753396f
2 changed files with 30 additions and 0 deletions

12
novnc/Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM ben0i0d/jupyter:py-c
USER root
RUN apt-get update --yes && \
apt-get --yes install --yes --no-install-recommends dbus-x11 xfce4 xfce4-panel xfce4-session xfce4-settings xorg tigervnc-standalone-server tigervnc-xorg-extension websockify && \
apt-get clean && rm -rf /var/lib/apt/lists/*
USER $NB_USER
RUN pip install jupyter-remote-desktop-proxy && \
pip cache purge

18
pyqt6/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM ben0i0d/jupyter:novnc
# Combine ENV statements
ENV LIBGL_ALWAYS_INDIRECT=1 \
QT_DEBUG_PLUGINS=1 \
QT_QUICK_BACKEND=software
USER root
# Install QT6 Dependencies
RUN apt-get update --yes && apt-get install -y libgl1-mesa-dev libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \
libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 libxcb-shape0 libxcb-render0 libxcb-glx0 libxi6 libxkbfile1 libxcb-cursor0 && \
apt-get clean && rm -rf /var/lib/apt/lists/*
USER $NB_USER
RUN pip install pyqt6 && \
pip cache purge