Install novnc without dependencies

This commit is contained in:
Simon Li 2019-09-29 09:36:52 +01:00
parent 859049ef99
commit 06b809e88e
1 changed files with 5 additions and 4 deletions

View File

@ -4,13 +4,17 @@ USER root
RUN apt-get update -y -q && \
apt-get install -y -q \
curl \
novnc \
patch \
tigervnc-standalone-server \
vim
RUN apt-get install -y -q \
lxde
# Novnc: just want web files, we'll install our own newer websockify
RUN apt-get download -q novnc && \
dpkg --force-all -i novnc*.deb && \
rm novnc*.deb
# Patch novnc to automatically connect
# Download missing fonts
ADD websocket-path-ui-js.patch /usr/share/novnc/include
@ -19,9 +23,6 @@ RUN cd /usr/share/novnc/include/ && \
curl -sSfLO https://raw.githubusercontent.com/novnc/noVNC/v1.1.0/app/styles/Orbitron700.ttf && \
curl -sSfLO https://raw.githubusercontent.com/novnc/noVNC/v1.1.0/app/styles/Orbitron700.woff
# Force remove websockify and install a more recent version
RUN dpkg -r --force-depends websockify
USER jovyan
# Custom jupyter-server-proxy to load vnc.html instead of /
RUN /opt/conda/bin/pip install https://github.com/manics/jupyter-server-proxy/archive/indexpage.zip