Skip to content
Snippets Groups Projects
Commit 06b809e8 authored by Simon Li's avatar Simon Li
Browse files

Install novnc without dependencies

parent 859049ef
No related branches found
No related tags found
No related merge requests found
...@@ -4,13 +4,17 @@ USER root ...@@ -4,13 +4,17 @@ USER root
RUN apt-get update -y -q && \ RUN apt-get update -y -q && \
apt-get install -y -q \ apt-get install -y -q \
curl \ curl \
novnc \
patch \ patch \
tigervnc-standalone-server \ tigervnc-standalone-server \
vim vim
RUN apt-get install -y -q \ RUN apt-get install -y -q \
lxde 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 # Patch novnc to automatically connect
# Download missing fonts # Download missing fonts
ADD websocket-path-ui-js.patch /usr/share/novnc/include ADD websocket-path-ui-js.patch /usr/share/novnc/include
...@@ -19,9 +23,6 @@ RUN cd /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.ttf && \
curl -sSfLO https://raw.githubusercontent.com/novnc/noVNC/v1.1.0/app/styles/Orbitron700.woff 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 USER jovyan
# Custom jupyter-server-proxy to load vnc.html instead of / # 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 RUN /opt/conda/bin/pip install https://github.com/manics/jupyter-server-proxy/archive/indexpage.zip
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment