Update x11vnc to prevent crash
This commit is contained in:
parent
c888c05572
commit
359551e272
|
@ -21,6 +21,7 @@ WORKDIR /root
|
||||||
#------------------
|
#------------------
|
||||||
# x11vnc
|
# x11vnc
|
||||||
# VNC server for X display
|
# VNC server for X display
|
||||||
|
# We use package from ubuntu 18.10 to fix crashing issue
|
||||||
# openbox
|
# openbox
|
||||||
# Windows manager
|
# Windows manager
|
||||||
# menu
|
# menu
|
||||||
|
@ -46,6 +47,8 @@ WORKDIR /root
|
||||||
# ubuntu-vm-builder
|
# ubuntu-vm-builder
|
||||||
# bridge-utils
|
# bridge-utils
|
||||||
#==================
|
#==================
|
||||||
|
ADD ./sources1810.list /etc/sources.list.d/
|
||||||
|
ADD ./x11vnc.pref /etc/apt/preferences.d/
|
||||||
RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \
|
RUN apt-get -qqy update && apt-get -qqy install --no-install-recommends \
|
||||||
xterm \
|
xterm \
|
||||||
supervisor \
|
supervisor \
|
||||||
|
|
2
docker/sources1810.list
Normal file
2
docker/sources1810.list
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
deb http://mirror.servers.com/ubuntu/ cosmic main restricted universe
|
||||||
|
deb http://security.ubuntu.com/ubuntu/ cosmic-security main restricted universe
|
9
docker/x11vnc.pref
Normal file
9
docker/x11vnc.pref
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
Package: *
|
||||||
|
Pin: release n=bionic
|
||||||
|
Pin-Priority: -10
|
||||||
|
Package: x11vnc
|
||||||
|
Pin: release n=cosmic
|
||||||
|
Pin-Priority: 500
|
||||||
|
Package: x11vnc-data
|
||||||
|
Pin: release n=cosmic
|
||||||
|
Pin-Priority: 500
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Bash version should >= 4 to be able to run this script.
|
# Bash version should >= 4 to be able to run this script.
|
||||||
|
|
||||||
IMAGE="budtmo/docker-android"
|
IMAGE="$DOCKER_ORG/docker-android"
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
read -p "Task (test|build|push|all) : " TASK
|
read -p "Task (test|build|push|all) : " TASK
|
||||||
|
|
Loading…
Reference in a new issue