Commit 1aa00ebe authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Replaced KASM executable with a version which supports websockets behind a proxy.

parent 922ce938
......@@ -13,19 +13,23 @@ USER root
# plus Python3 which is required for Kasm VNC
RUN apt-get install xvfb xterm net-tools python3 libjpeg8 libgomp1 -y
# Kasm VNC (modded by gtaffoni to use a socket named by an env var)
# Kasm VNC
COPY files/kasmvnc.ubuntu_focal.tar.gz /tmp
RUN sudo tar xz --strip 1 -C / -f /tmp/kasmvnc.ubuntu_focal.tar.gz && rm /tmp/kasmvnc.ubuntu_focal.tar.gz
RUN rm /usr/local/bin/Xvnc
COPY files/Xkasmvnc /usr/local/bin/Xvnc
RUN chmod 755 /usr/local/bin/Xvnc
RUN cd /tmp && wget && dpkg -i libnettle6_3.4.1-0ubuntu0.18.04.1_amd64.deb
# KASM VNC startup script
COPY files/ /usr/local/bin/
RUN chmod 755 /usr/local/bin/
# X environment setup/startup
RUN mkdir -p /metauser_home_vanilla/.vnc
COPY files/xstartup /metauser_home_vanilla/.vnc
RUN chmod 755 /metauser_home_vanilla/.vnc/xstartup
# KASM VNC startup script
COPY files/ /usr/local/bin/
RUN chmod 755 /usr/local/bin/
# Post-intall
Markdown is supported
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