From 7c61c5ab911a0955933245c54bdccc54b7b451bb Mon Sep 17 00:00:00 2001 From: Ting-Yu Lin Date: Thu, 12 Mar 2020 15:13:35 +0700 Subject: [PATCH] Remove xorg and add proper dependencies --- templates/Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/templates/Dockerfile b/templates/Dockerfile index 2660a59..af2c2c6 100644 --- a/templates/Dockerfile +++ b/templates/Dockerfile @@ -19,11 +19,13 @@ RUN dpkg --add-architecture i386 && \ echo "deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-backports main restricted universe multiverse" >> /etc/apt/sources.list && \ apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -yq software-properties-common libstdc++6:i386 zlib1g:i386 libncurses5:i386 \ - locales ca-certificates apt-transport-https curl unzip redir iproute2 \ - openjdk-8-jdk xvfb x11vnc fluxbox nano libpulse0 telnet expect \ - libasound2 dbus expat libx11-6 libxcb-composite0 libxcomposite1 libxcursor1 \ - libxdamage1 libxfixes3 libgl1 libnspr4 libnss3 xorg \ - --no-install-recommends && \ + locales ca-certificates apt-transport-https curl unzip redir iproute2 \ + openjdk-8-jdk xvfb x11vnc fluxbox nano telnet expect \ + libc6 libdbus-1-3 libfontconfig1 libgcc1 \ + libpulse0 libtinfo5 libx11-6 libxcb1 libxdamage1 \ + libnss3 libxcomposite1 libxcursor1 libxi6 \ + libxext6 libxfixes3 zlib1g libgl1 pulseaudio socat \ + --no-install-recommends && \ locale-gen en_US.UTF-8 && \ # Install Android SDK curl -L $LINK_ANDROID_SDK > /tmp/android-sdk-linux.zip && \