There was an error while loading. Please reload this page.
1 parent ee4b0bf commit 34ca3dcCopy full SHA for 34ca3dc
Dockerfile.j2
@@ -27,11 +27,16 @@ RUN apt update \
27
&& apt autoclean -y \
28
&& apt autoremove -y \
29
&& rm -rf /var/lib/apt/lists/*
30
+{%if image == "ubuntu:18.04"%}
31
+ENV X11VNC_VERSION=0.9.16-1
32
+{%else%}
33
+ENV X11VNC_VERSION=0.9.14-1*
34
+{%endif%}
35
# install debs error if combine together
36
RUN add-apt-repository -y ppa:fcwu-tw/apps \
37
&& apt update \
38
&& apt install -y --no-install-recommends --allow-unauthenticated \
- xvfb x11vnc=0.9.16-1 \
39
+ xvfb x11vnc=$X11VNC_VERSION \
40
{%for package in addon_packages%}{{package}} {%endfor%} \
41
&& add-apt-repository -r ppa:fcwu-tw/apps \
42
0 commit comments