diff options
author | Jinwei Zhao <[email protected]> | 2016-11-14 23:21:48 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2016-11-14 23:21:48 +0800 |
commit | 7abf1d7c078028efa3ee75beff408145b6c3abf2 (patch) | |
tree | 2346586498fa88c03fcc3651f10a089e43b7cebc | |
parent | 970caafe2947df1d1873b4026fae1fafe0fc062c (diff) | |
download | LumberJack-7abf1d7c078028efa3ee75beff408145b6c3abf2.tar.gz |
init dockerfile
-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 | ||