diff options
author | Jinwei Zhao <[email protected]> | 2016-11-15 19:05:52 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2016-11-15 19:05:52 +0800 |
commit | a684879f6bf19af2fd99bb18e053bc09e7c78b02 (patch) | |
tree | 90a6f1cd3761e6cf5143c7a4d812289fa525ba18 /Dockerfile | |
parent | 98f17648fa01021d421c660175d0db27864c31f9 (diff) | |
download | LumberJack-a684879f6bf19af2fd99bb18e053bc09e7c78b02.tar.gz |
gui
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,15 +6,15 @@ 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 scrot git build-essential python3 python3-dev python3-pip python3-tk && \ | 9 | apt-get install -y 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 \ | 12 | RUN \ |
13 | DISPLAY=:1.0 && \ | ||
14 | export DISPLAY && \ | ||
15 | Xvfb :1 -screen 0 1366x768x16 &> xvfb.log & &&\ | ||
16 | pip3 install image && \ | ||
13 | pip3 install python3-xlib && \ | 17 | pip3 install python3-xlib && \ |
14 | pip3 install pyautogui && \ | 18 | pip3 install pyautogui |
15 | mkdir -p /code/ | ||
16 | |||
17 | # RUN | ||
18 | ADD ./bot.py /code/bot.py | ||
19 | 19 | ||
20 | CMD /bin/bash | 20 | CMD /bin/bash |