diff options
author | Jinwei Zhao <[email protected]> | 2016-11-15 19:22:03 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2016-11-15 19:22:03 +0800 |
commit | 60778bceb264f833acfe2484eae6555f1040b23b (patch) | |
tree | 6b99815e1154f95678867bbae903e66958be405b /Dockerfile | |
parent | 2121b2ea637f209c6151fd0d46514a4325651090 (diff) | |
download | LumberJack-60778bceb264f833acfe2484eae6555f1040b23b.tar.gz |
Xauthority
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,7 +6,7 @@ RUN \ | |||
6 | sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ | 6 | sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ |
7 | apt-get update && \ | 7 | apt-get update && \ |
8 | apt-get -y upgrade && \ | 8 | apt-get -y upgrade && \ |
9 | apt-get install -y sudo xvfb scrot git build-essential python3 python3-dev python3-pip python3-tk && \ | 9 | apt-get install -y firefox sudo xvfb scrot git build-essential python3 python3-dev python3-pip python3-tk && \ |
10 | rm -rf /var/lib/apt/lists/* | 10 | rm -rf /var/lib/apt/lists/* |
11 | 11 | ||
12 | RUN export uid=1000 gid=1000 && \ | 12 | RUN export uid=1000 gid=1000 && \ |
@@ -20,6 +20,7 @@ RUN export uid=1000 gid=1000 && \ | |||
20 | RUN \ | 20 | RUN \ |
21 | Xvfb :1 -screen 0 1366x768x16 &> xvfb.log && \ | 21 | Xvfb :1 -screen 0 1366x768x16 &> xvfb.log && \ |
22 | export DISPLAY=:1.0 && \ | 22 | export DISPLAY=:1.0 && \ |
23 | touch ~/.Xauthority && \ | ||
23 | pip3 install image && \ | 24 | pip3 install image && \ |
24 | pip3 install python3-xlib && \ | 25 | pip3 install python3-xlib && \ |
25 | pip3 install pyautogui | 26 | pip3 install pyautogui |