From f86bd5b63ec84aa0306178bb2d5a8d01cf88e464 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Fri, 23 Jul 2021 21:33:38 +0100 Subject: [PATCH] Update TurboVNC to 2.2.6 --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5db81f28..6c6c2e34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,10 +14,11 @@ RUN apt-get -y update \ xubuntu-icon-theme # Remove light-locker to prevent screen lock -RUN wget 'https://sourceforge.net/projects/turbovnc/files/2.2.5/turbovnc_2.2.5_amd64.deb/download' -O turbovnc_2.2.5_amd64.deb && \ - apt-get install -y -q ./turbovnc_2.2.5_amd64.deb && \ +ARG TURBOVNC_VERSION=2.2.6 +RUN wget -q "https://sourceforge.net/projects/turbovnc/files/${TURBOVNC_VERSION}/turbovnc_${TURBOVNC_VERSION}_amd64.deb/download" -O turbovnc_${TURBOVNC_VERSION}_amd64.deb && \ + apt-get install -y -q ./turbovnc_${TURBOVNC_VERSION}_amd64.deb && \ apt-get remove -y -q light-locker && \ - rm ./turbovnc_2.2.5_amd64.deb && \ + rm ./turbovnc_${TURBOVNC_VERSION}_amd64.deb && \ ln -s /opt/TurboVNC/bin/* /usr/local/bin/ # apt-get may result in root-owned directories/files under $HOME