From 60778bceb264f833acfe2484eae6555f1040b23b Mon Sep 17 00:00:00 2001 From: Jinwei Zhao Date: Tue, 15 Nov 2016 19:22:03 +0800 Subject: Xauthority --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 862fe59..94eda00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN \ sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ apt-get update && \ apt-get -y upgrade && \ - apt-get install -y sudo xvfb scrot git build-essential python3 python3-dev python3-pip python3-tk && \ + apt-get install -y firefox sudo xvfb scrot git build-essential python3 python3-dev python3-pip python3-tk && \ rm -rf /var/lib/apt/lists/* RUN export uid=1000 gid=1000 && \ @@ -20,6 +20,7 @@ RUN export uid=1000 gid=1000 && \ RUN \ Xvfb :1 -screen 0 1366x768x16 &> xvfb.log && \ export DISPLAY=:1.0 && \ + touch ~/.Xauthority && \ pip3 install image && \ pip3 install python3-xlib && \ pip3 install pyautogui -- cgit v1.2.3