@@ -92,27 +92,20 @@ RUN apt-get -qqy update \
9292# #######################################
9393# noVNC exposes VNC through a web page #
9494# #######################################
95- # Download https://github.com/novnc/noVNC dated 2021-03-30 commit 84f102d6a9ffaf3972693d59bad5c6fddb6d7fb0
96- # Download https://github.com/novnc/websockify dated 2021-03-22 commit c5d365dd1dbfee89881f1c1c02a2ac64838d645f
97- # Install procps as noVNC's launch.sh depends on it to launch websockify properly
98- ENV NOVNC_SHA="84f102d6a9ffaf3972693d59bad5c6fddb6d7fb0" \
99- WEBSOCKIFY_SHA="c5d365dd1dbfee89881f1c1c02a2ac64838d645f"
95+ ENV NOVNC_VERSION="1.4.0" \
96+ WEBSOCKIFY_VERSION="0.11.0"
10097RUN wget -nv -O noVNC.zip \
101- "https://github.com/novnc/noVNC/archive/${NOVNC_SHA }.zip" \
98+ "https://github.com/novnc/noVNC/archive/refs/tags/v${NOVNC_VERSION }.zip" \
10299 && unzip -x noVNC.zip \
103- && mv noVNC-${NOVNC_SHA } /opt/bin/noVNC \
100+ && mv noVNC-${NOVNC_VERSION } /opt/bin/noVNC \
104101 && cp /opt/bin/noVNC/vnc.html /opt/bin/noVNC/index.html \
105102 && rm noVNC.zip \
106103 && wget -nv -O websockify.zip \
107- "https://github.com/novnc/websockify/archive/${WEBSOCKIFY_SHA }.zip" \
104+ "https://github.com/novnc/websockify/archive/refs/tags/v${WEBSOCKIFY_VERSION }.zip" \
108105 && unzip -x websockify.zip \
109106 && rm websockify.zip \
110- && rm -rf websockify-${WEBSOCKIFY_SHA}/tests \
111- && mv websockify-${WEBSOCKIFY_SHA} /opt/bin/noVNC/utils/websockify \
112- && apt-get -qqy update \
113- && apt-get -qqy --no-install-recommends install procps \
114- && rm -rf /var/lib/apt/lists/* \
115- && apt-get -qqy clean
107+ && rm -rf websockify-${WEBSOCKIFY_VERSION}/tests \
108+ && mv websockify-${WEBSOCKIFY_VERSION} /opt/bin/noVNC/utils/websockify
116109
117110# =========================================================================================================================================
118111# Run this command for executable file permissions for /dev/shm when this is a "child" container running in Docker Desktop and WSL2 distro
0 commit comments