diff options
-rw-r--r-- | Dockerfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d9c643d --- /dev/null +++ b/Dockerfile | |||
@@ -0,0 +1,20 @@ | |||
1 | FROM ubuntu:latest | ||
2 | MAINTAINER clarkzjw <[email protected]> | ||
3 | |||
4 | # Install Ubuntu and base software. | ||
5 | RUN \ | ||
6 | sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \ | ||
7 | apt-get update && \ | ||
8 | apt-get -y -qq upgrade && \ | ||
9 | apt-get install -y -qq scrot git build-essential python3 python3-dev python3-pip python3-tk && \ | ||
10 | rm -rf /var/lib/apt/lists/* | ||
11 | |||
12 | RUN \ | ||
13 | pip3 install python3-xlib && \ | ||
14 | pip3 install pyautogui && \ | ||
15 | mkdir -p /code/ | ||
16 | |||
17 | # RUN | ||
18 | ADD ./bot.py /code/bot.py | ||
19 | |||
20 | CMD /bin/bash | ||