Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -13,19 +13,23 @@ USER root ...@@ -13,19 +13,23 @@ USER root
# plus Python3 which is required for Kasm VNC # plus Python3 which is required for Kasm VNC
RUN apt-get install xvfb xterm net-tools python3 libjpeg8 libgomp1 -y 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 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 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 http://archive.ubuntu.com/ubuntu/pool/main/n/nettle/libnettle6_3.4.1-0ubuntu0.18.04.1_amd64.deb && dpkg -i libnettle6_3.4.1-0ubuntu0.18.04.1_amd64.deb
# KASM VNC startup script
COPY files/run_kasm.sh /usr/local/bin/run_kasm.sh
RUN chmod 755 /usr/local/bin/run_kasm.sh
# X environment setup/startup # X environment setup/startup
RUN mkdir -p /metauser_home_vanilla/.vnc RUN mkdir -p /metauser_home_vanilla/.vnc
COPY files/xstartup /metauser_home_vanilla/.vnc COPY files/xstartup /metauser_home_vanilla/.vnc
RUN chmod 755 /metauser_home_vanilla/.vnc/xstartup RUN chmod 755 /metauser_home_vanilla/.vnc/xstartup
# KASM VNC startup script
COPY files/run_kasm.sh /usr/local/bin/run_kasm.sh
RUN chmod 755 /usr/local/bin/run_kasm.sh
#------------------------ #------------------------
# Post-intall # Post-intall
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment