diff --git a/docker/Emulator_x86 b/docker/Emulator_x86 index 9f3df53..2f4860a 100644 --- a/docker/Emulator_x86 +++ b/docker/Emulator_x86 @@ -21,6 +21,7 @@ WORKDIR /root #------------------ # x11vnc # VNC server for X display +# We use package from ubuntu 18.10 to fix crashing issue # openbox # Windows manager # menu @@ -46,6 +47,8 @@ WORKDIR /root # ubuntu-vm-builder # 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 \ xterm \ supervisor \ diff --git a/docker/sources1810.list b/docker/sources1810.list new file mode 100644 index 0000000..97d0772 --- /dev/null +++ b/docker/sources1810.list @@ -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 diff --git a/docker/x11vnc.pref b/docker/x11vnc.pref new file mode 100644 index 0000000..54da167 --- /dev/null +++ b/docker/x11vnc.pref @@ -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 \ No newline at end of file diff --git a/release.sh b/release.sh index 8be68ce..a09f538 100755 --- a/release.sh +++ b/release.sh @@ -1,7 +1,7 @@ #!/bin/bash # Bash version should >= 4 to be able to run this script. -IMAGE="budtmo/docker-android" +IMAGE="$DOCKER_ORG/docker-android" if [ -z "$1" ]; then read -p "Task (test|build|push|all) : " TASK