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